[LLVMbugs] [Bug 3202] New: eh info show up in the symbol table

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Dec 12 04:48:57 PST 2008


           Summary: eh info show up in the symbol table
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=2299)
 --> (http://llvm.org/bugs/attachment.cgi?id=2299)
proposed patch

Is it really necessary to place the unwind information in the sysbol table?
An example:
$ cat test.cc
void f() {}
$ llvm-g++ -c test.cc -o test-llvm.o
$ g++ -c test.cc -o test-gcc.o
$ nm test-llvm.o | grep -w d
0000000000000000 d EH_frame0
0000000000000018 d _Z1fv.eh
$ nm test-gcc.o | grep -w d

The attached patch fixes the problem by adding a ".L" prefix to the symbols.

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