[LLVMbugs] [Bug 4932] clang: doesn't honor -fno-asynchronous-unwind-tables

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 15 23:17:55 PDT 2009


Daniel Dunbar <daniel at zuster.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Daniel Dunbar <daniel at zuster.org>  2009-09-16 01:17:54 ---
This is bad, but I haven't fully deciphered the logic to match gcc with

I think the situation is that on Darwin we set -fasynchronous-unwind-tables by
default (on x86_64), which gets us unwind-tables, unless we have -mkernel or
-fapple-kext going on. The state machine of what actually causes llvm-gcc to
get unwind tables seems way more complicated than necessary, but I don't really
know enough about these options to know they aren't being used.

Fixed in r82021. I took the small incremental improvement line, so that we
always honor -funwind-tables and -fno-unwind-tables, but use
-fasyncronous-unwind-tables as the default if those aren't present.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list