[Lldb-commits] [Bug 12355] New: Symbolization does not work with -pie

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 26 02:15:07 PDT 2012


             Bug #: 12355
           Summary: Symbolization does not work with -pie
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-commits at cs.uiuc.edu
        ReportedBy: dvyukov at google.com
    Classification: Unclassified

When I build the lookup example as
$ clang++ main.cpp -I../../include -llldb -g -frtti
It works.
However when I build it as:
$ clang++ main.cpp -I../../include -llldb -g -frtti -fPIE -pie
It fails to symbolize itself. While objdump -dSl symbolizes it (shows line
numbers inside of functions). If I build a program with gcc with -fPIE -pie, it
also able to symbolize itself (with lldb).
So, the problem seems to be in tricky interaction of clang, lldb and -pie.
The platform is Linux/Amd64.

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

More information about the lldb-commits mailing list