search for: return_blk

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

Did you mean: return_block
2012 Apr 05
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...ght 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 = BasicBlock::Create( ctx, "unwind_resume", fn ); > build...
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 ); >>