search for: unwind_resume_blk

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

2012 Apr 05
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...InsertPoint( exit_blk_ ); > builder.CreateCondBr( > // If we caught an exception ... > builder.CreateICmpNE( > builder.CreateLoad( exception_caught_flag_ ), > exception_not_thrown_state_ > ), > // ... then branch to the unwind-resume block > unwind_resume_blk, > // ... else branch to the return block > return_blk > ); The rest of the unwind_blks_ are the dtor_blk's that are created to call the object's destructors. The unwind_resume_blk referenced in the exit_blk is created by: > BasicBlock *const unwind_resume_blk = B...
2012 Mar 23
2
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Mar 23, 2012, at 4:29 PM, Paul J. Lucas wrote: > On Mar 23, 2012, at 3:25 PM, Bill Wendling wrote: > >> Let's take your example. You will have code that looks like this: >> >> extern "C" void thunk_item_M_delete( void *v_that ) { >> item *that = 0; >> try { >> that = static_cast<item*>( v_that ); >>