[llvm-commits] [llvm] r43083 - in /llvm/trunk: lib/Transforms/IPO/RaiseAllocations.cpp test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll

Devang Patel dpatel at apple.com
Thu Oct 18 09:36:16 PDT 2007


On Oct 18, 2007, at 1:07 AM, Duncan Sands wrote:

> Hi Devang,
>
>> Do not raise free() call that is called through invoke instruction.

> why not?  As far as I know free cannot raise an exception,

If this is guaranteed then raiseallocs needs to do cleanup and break  
link between bb with inovke .. at free(..) and corresponding unwind block  
(remove PHI nodes' incoming edge).

> and we
> don't support trapping exceptions for the moment.
>
> Ciao,
>
> Duncan.

-
Devang






More information about the llvm-commits mailing list