[LLVMdev] uses of unwind lead to crashes

Chris Lattner clattner at apple.com
Thu Jan 29 09:42:00 PST 2009


On Jan 29, 2009, at 12:15 AM, Duncan Sands wrote:

> Hi John,
>
>> If I understand you correctly, one interim measure would be to update
>> the code generators that don't support unwind to explicitly signal an
>> error, no? You could always have a -compile-anyway command-line flag
>> that tells the code generator to do its best, for users that want to
>> proceed with the unsupported feature.
>
> I agree that quietly producing wrong code is bad.  If Chris agrees,
> I'll teach the code generator to abort if it encounters an "unwind".
> This seems a particularly good idea given how often this comes up :)

Makes sense to me!

-Chris



More information about the llvm-dev mailing list