Displaying 1 result from an estimated 1 matches for "excepttypetothrow".
2012 Dec 13
2
[LLVMdev] Fwd: error while linking modules with exception handling demo code
...a i32
%g = alloca i32
%bar = alloca i32
store i32 %0, i32* %bar
%"argument read" = load i32* %bar
%"Code::Op::Mul" = mul i32 %"argument read", 5
store i32 %"Code::Op::Mul", i32* %g
%read = load i32* %g
}
define void @"invoke foo"(i32 %exceptTypeToThrow) {
entry:
%caughtResultStorage = alloca { i8*, i32 }
store { i8*, i32 } zeroinitializer, { i8*, i32 }* %caughtResultStorage
%exceptionStorage = alloca i8*
store i8* null, i8** %exceptionStorage
%exceptionCaught = alloca i8
store i8 0, i8* %exceptionCaught
%0 = invoke i32 @foo(i32 %exc...