[LLVMbugs] [Bug 8765] New: Builtin handling for lomgjmp overrides asm() renames

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 9 07:37:58 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=8765

           Summary: Builtin handling for lomgjmp overrides asm() renames
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu


NetBSD is using asm("foo") renames in the system headers to provide multiple
versions of certain functions for ABI compatibility. One such instance is the
longjmp family.

If clang is used with -fbuiltin, the renames for the longjmp functions are lost
in the code generation. This directly results in link errors due to missing
functions.

-- 
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