search for: caughtresultstorage

Displaying 3 results from an estimated 3 matches for "caughtresultstorage".

Did you mean: caught_result_storage
2012 Apr 09
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...dInst *caughtResult = > builder.CreateLandingPad(ourCaughtResultType, > personality, > numExceptionsToCatch, > "landingPad"); > // ... > > builder.CreateStore(caughtResult, caughtResultStorage); Then on line 1255: > builder.CreateResume(builder.CreateLoad(caughtResultStorage)); Are you saying that code is wrong too? - Paul
2012 Dec 13
2
[LLVMdev] Fwd: error while linking modules with exception handling demo code
...= 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 %exceptTypeToThrow) to labe...
2012 Apr 09
5
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Apr 8, 2012, at 8:47 AM, Paul J. Lucas wrote: > On Apr 8, 2012, at 4:20 AM, Bill Wendling wrote: > >> On Apr 4, 2012, at 9:32 PM, Paul J. Lucas wrote: >> >>> This all seems to work just fine. I can throw a C++ exception either in a C++ object's constructor or in an ordinary member function and the stack unwinds correctly (the object's destructors are