Displaying 2 results from an estimated 2 matches for "unwindresum".
Did you mean:
unwindresume
2015 Mar 20
2
[LLVMdev] LLVM Exception Handling
...turn 0;
}
###
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/attachmen...
2012 Dec 13
2
[LLVMdev] Fwd: error while linking modules with exception handling demo code
...ent read" = load i32* %bar
%read = load i32* %h
%addtmp = add i32 %"argument read", %read
ret i32 %addtmp
externalException: ; preds = %exception
call void @printStr(i8* getelementptr inbounds ([34 x i8]* @6, i32 0, i32 0))
br label %finally
unwindResume: ; preds = %finally
%13 = load { i8*, i32 }* %caughtResultStorage
resume { i8*, i32 } %13
end: ; preds = %finally, %finally
call void @printStr(i8* getelementptr inbounds ([43 x i8]* @4, i32 0, i32 0))
%14 =...