search for: implementationvisitor

Displaying 2 results from an estimated 2 matches for "implementationvisitor".

2008 Feb 11
2
[LLVMdev] exception handling broken on x86-64?
Hello Evan and Dale, > Shootout-C++/except works for me. Anton suggests there may be an > issue with the unwinding libraries and he may be right, I'll look at > it with you tomorrow. Yes. Please be sure, that you're linking with system libgcc.{so,dylib}, not with llvm-compiled one. -- WBR, Anton Korobeynikov
2008 Mar 15
1
[LLVMdev] exception handling broken on x86-64?
...ecently updated working copy of llvm, I tried calling a JITted function that calls an external function that throws: thrower.cpp: (which gets compiled into a dynamic library) extern "C" void throwexception() { throw 5; } My code that invokes the JIT: llvm::Function *q_main = implementationVisitor.m_module- >getFunction("q_main"); std::vector<GenericValue> args; try { GenericValue GV=EE->runFunction(q_main, args); } catch (...) { printf("hello!\n"); } } And instead of printing out hello I got Program received signal SIGA...