[LLVMbugs] [Bug 3698] New: Clang ignores leading dot in symbol name

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Mar 2 01:59:27 PST 2009


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

           Summary: Clang ignores leading dot in symbol name
           Product: clang
           Version: unspecified
          Platform: PC
               URL: http://svn.freebsd.org/viewvc/base/head/lib/libc/gmon/gm
                    on.c?view=markup
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ed at 80386.nl
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 3696


When compiling the attached code with GCC, nm will show the following:

                 U .foo
0000000000000000 T main

If we compile the same code with LLVM, we get:

                 U foo
0000000000000000 T main

This causes FreeBSD's libc to load correctly. If libc is compiled with LLVM,
except gmon.c, libc seems to work properly.


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