[llvm-commits] [llvm] r57048 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.cpp test/CodeGen/X86/2008-08-31-EH_RETURN32.ll test/CodeGen/X86/2008-08-31-EH_RETURN64.ll

Duncan Sands baldrick at free.fr
Mon Oct 6 12:10:04 PDT 2008


Hi Evan,

> Do you know why it's breaking unwinding? With the patch backed out,  
> it's generating:

in the testcase where I saw breakage, the problem was due to
a miscompilation of llvm-gcc's libgcc (shared version).  In
fact the application itself (which did a lot of throwing and
catching) worked fine when compiled with llvm-gcc as long as
it was linked with the system libgcc, not llvm-gcc's libgcc.
So it looks like your patch works fine almost always, only
there's something subtle in libgcc which it breaks.

Ciao,

Duncan.



More information about the llvm-commits mailing list