[LLVMdev] Whither exceptions
sabre at nondot.org
Thu Dec 20 10:52:09 PST 2007
On Thu, 20 Dec 2007, Dale Johannesen wrote:
>> front-end. You think we should have llc default to EH on when the
>> target supports it?
> The target and the source language, yes. I agree it should be off by
> default for C, so I guess what I want is to encode the -fexceptions
> value in the IR. People with C++ programs shouldn't need a BE flag to
> make a fundamental language feature work.
That is an interesting point. Maybe there should be a function attr that
says the function needs unwind info? Duncan, what do you think?
>> Don't all targets support sjlj?
> Apparently not, since there were a lot of new passes when I changed
> -enable-eh-correct to -enable-eh. I haven't looked into the sjlj
> implementation at all though, so I can't say why.
Ok. I wouldn't be suprised if it was bitrotted or something, it gets
More information about the llvm-dev