search for: unwind2

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

Did you mean: unwind
2012 Apr 08
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
..._resume: ; preds = %exit > resume %0 %1 > > normal: ; preds = %entry > %4 = bitcast %item* %y to void* > invoke void @thunk_item_M_new_i(void* %4, i32 2) > to label %normal1 unwind label %unwind2 > > unwind: ; preds = %entry > %5 = landingpad %0 personality i32 (...)* @__gxx_personality_v0 > cleanup > store %0 %5, %0* %caught_result_storage, align 8 > store i8 1, i8* %exception_caught_flag, align 1 > br label...
2012 Apr 08
2
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Apr 4, 2012, at 9:32 PM, Paul J. Lucas wrote: > On Mar 23, 2012, at 4:46 PM, Bill Wendling 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 called) and the exception is propagated back up the C++ code that called the
2012 Apr 09
5
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...; preds = %exit >> resume %0 %1 >> >> normal: ; preds = %entry >> %4 = bitcast %item* %y to void* >> invoke void @thunk_item_M_new_i(void* %4, i32 2) >> to label %normal1 unwind label %unwind2 >> >> unwind: ; preds = %entry >> %5 = landingpad %0 personality i32 (...)* @__gxx_personality_v0 >> cleanup >> store %0 %5, %0* %caught_result_storage, align 8 What gets returned by the landingpad instruction (%0...