search for: createresum

Displaying 5 results from an estimated 5 matches for "createresum".

Did you mean: createresume
2012 Apr 09
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...rCaughtResultType, > 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 26
1
[LLVMdev] Value not in slotcalculator! error
...when I dump the value that seems to be responsible for the error: input>> call V->dump() output>> declare void @_Unwind_Resume(i8*) Now the funny thing is I don't call this function, it gets inserted into my code when I generate a "resume" instruction using IRBuilder::CreateResume for exception handling. I've tried adding a declaration for _UnwindResume myself but that doesn't do anything. Any help would be appreciated. Best, Christian Schafmeister -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail...
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
2012 Apr 05
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...lk'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 ); > builder.SetInsertPoint( unwind_resume_blk ); > builder.CreateResume( builder.CreateLoad( caught_result_storage_ ); and the return_blk is simply a CreateRetVoid(). 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 a...
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 ); >>