Daniel, This bug might be because the linux compiler is using DW_AT_linkage_name instead of the old DW_AT_MIPS_linkage_name that our compiler uses. I just submitted this fix:
% svn commit Sending source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp Sending source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp Sending source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp Sending source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Transmitting file data .... Committed revision 169657. Let me know if that fixes the bug. Greg Clayton On Dec 7, 2012, at 2:41 PM, [email protected] wrote: > 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: [email protected] > ReportedBy: [email protected] > 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. > _______________________________________________ > lldb-dev mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
