Displaying 2 results from an estimated 2 matches for "tp22508882p22515204".
2009 Mar 14
0
[LLVMdev] Strange LLVM Crash
....add(llvm::createFunctionInliningPass());
I would like to know either which pass does this (global optimizer maybe?)
so I can disable it, or what flag I can set on my C++ function objects to
keep them from being pruned out.
--
View this message in context: http://www.nabble.com/Strange-LLVM-Crash-tp22508882p22515204.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2009 Mar 14
5
[LLVMdev] Strange LLVM Crash
I'm implementing a JIT and getting some strange crashes. I'm unsure exactly
what's causing them, but it seems to occur when I call the getReturnType()
method on some LLVM function objects. More precisely, I'm registering some
native C++ functions as LLVM functions through the addGlobalMapping method
of an execution engine object. I then keep a pointer to those LLVM function