search for: externalexception

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

2012 Dec 13
2
[LLVMdev] Fwd: error while linking modules with exception handling demo code
...*, i32 }* %caughtResultStorage store i8* %2, i8** %exceptionStorage store i8 1, i8* %exceptionCaught %4 = bitcast i8* %2 to { i64 }* %5 = getelementptr inbounds { i64 }* %4, i32 0, i32 0 %6 = load i64* %5 %7 = icmp eq i64 %6, 8026094035810743040 br i1 %7, label %exceptionRoute, label %externalException exceptionRoute: ; preds = %exception %8 = getelementptr i8* %2, i64 4294967280 %9 = bitcast i8* %8 to { { i32 } }* %10 = getelementptr inbounds { { i32 } }* %9, i32 0, i32 0 %11 = getelementptr inbounds { i32 }* %10, i32 0, i32 0 %12 = load i32* %11 ca...
2015 Mar 20
2
[LLVMdev] LLVM Exception Handling
...Crash like below: libc++abi.dylib: terminating with uncaught exception of type int [1] 15639 abort (core dumped) ./main What can be the reason for the different behaviour in different platforms? In order to make it work, do I need to wrap the llvm::Function* f with the unwindResume and externalException blocks ? Any other suggestions ? By the way I use LLVM 3.6.0 compiled with LLVM_ENABLE_EH and RTTI enabled. Thanks in advance for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150320/9b85b68c/at...