search for: throwint

Displaying 1 result from an estimated 1 matches for "throwint".

Did you mean: throwing
2012 Dec 27
1
[LLVMdev] Throwing an exception from JITed code, and catching in C++
...t in the C++ code that invokes the JIT. This does not seem to work. I've written what is hopefully a super simple demonstration to reproduce this. I would appreciate any help with this. Thank you The demonstration is composed of: 1) thrower.cpp - a source file that contains a single function, throwInt(), that throws an int. This is compiled to thrower.s with clang and then to thrower.s.bc with llvm-as. 2) catcher.cpp - a source file that contains a main() that JITs thrower.s.bc and then calls throwInt(). This is compiled using g++. When I run catcher it just prints this: terminate called after...