[LLVMdev] RFC: Exception Handling Proposal Revised

Duncan Sands baldrick at free.fr
Wed Dec 1 11:48:42 PST 2010


Hi Bill,

>> 3. In onto.catch.handlers you resume to %lpad. Which basic-block is
>> this? Shouldn't this be a "resume_unwinding" call of some sort (if Q2
>> is right)?
>>
> This was necessary to keep the invariant that only resume or unwind edges may
> jump to a landing pad (%lpad in this instance). Otherwise, I would have the
> invoke in a.dtor to directly to %lpad on the "normal" edge.

I couldn't find any basic block labelled "%lpad".  I think this is one of
the things Renato was pointing out.

Ciao,

Duncan.



More information about the llvm-dev mailing list