[lldb-dev] [Bug 14540] New: Backtrace command does not display c++ member function names on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 7 14:41:02 PST 2012


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

             Bug #: 14540
           Summary: Backtrace command does not display c++ member function
                    names on Linux
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev at cs.uiuc.edu
        ReportedBy: daniel.malea at intel.com
    Classification: Unclassified


Doing a backtrace during a c++ program sometimes does not display the names of
member functions correctly.

For example, on Linux, lldb reports:

 frame #0: 0x0000000000400a72 a.out`C + 50 at main.cpp:93
 frame #1: 0x00000000004008f7 a.out`C + 39 at main.cpp:94
 frame #2: 0x0000000000400727 a.out`main + 87 at main.cpp:121
 frame #3: 0x00007f04ab6b676d libc.so.6`__libc_start_main + 237
 frame #4: 0x0000000000400609 a.out`_start + 41

The name of C's constructor "C::C" is not displayed in any frame.

To reproduce the above, build lldb (with clang) and run:

./dotest.py -A x86_64 -C /home/pulse_agent/bin/clang -v -t -f
IterateFrameAndDisassembleTestCase.test_with_dwarf_and_python_api

-- 
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-dev mailing list