Skip to content

eh info show up in the symbol table #3574

@llvmbot

Description

@llvmbot
Bugzilla Link 3202
Resolution FIXED
Resolved on Dec 19, 2008 05:04
Version trunk
OS Linux
Attachments proposed patch
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions