[LLVMdev] [cfe-dev] Unwind behaviour in Clang/LLVM

Renato Golin renato.golin at linaro.org
Sat Feb 15 07:36:54 PST 2014


On 15 February 2014 11:38, Evgeniy Stepanov <eugeni.stepanov at gmail.com> wrote:
> I'd love to hear more details. Are you saying that this infinite loop
> is a limitation of EHABI table format, and not something that can be
> fixed in the compiler?

I'd find it hard to believe. EHABI has been out for a long time and I
don't remember any intrinsic problem like that.

Remember that our EHABI implementation is *very* new, and that this
problem is when mixing Dwarf unwinding with EHABI unwinding, which we
have just enabled yesterday (by Keith's patch), so "here be dragons".
;)


> Meanwhile, please notice that gcc behavior matches current clang
> behavior that I described above. We would not want to create an
> incompatibility.

Absolutely! We need to be extra careful.

It'd be good if we had some examples compiled with GCC and LLVM
intermixed and throw exceptions from different places, either on the
check-all or the test-suite.

cheers,
--renato



More information about the llvm-dev mailing list