[llvm-bugs] [Bug 32319] New: .gdb_index is broken/incomplete
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 16 14:44:11 PDT 2017
http://bugs.llvm.org/show_bug.cgi?id=32319
Bug ID: 32319
Summary: .gdb_index is broken/incomplete
Product: lld
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: ruiu at google.com
CC: llvm-bugs at lists.llvm.org
Reported by David Blaikie.
He is using GDB 7.9 (a google internal build) to debug LLVM's 'llc' binary on
an assert-failure. A few of the later frames (endFunction,
runOnMachineFunction, runOnFunction) doesn't have source information.
#9 0x00000000037d9278 in llvm::DwarfCompileUnit::constructVariableDIEImpl
(this=0x540a390, DV=..., Abstract=false) at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:543
(gdb)
#10 0x00000000037d8c6c in llvm::DwarfCompileUnit::constructVariableDIE
(this=0x540a390, DV=..., Abstract=false) at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:479
(gdb)
#11 0x00000000037d97b6 in llvm::DwarfCompileUnit::constructVariableDIE
(this=0x540a390, DV=..., Scope=..., ObjectPointer=@0x7fffffffb488: 0x0) at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:560
(gdb)
#12 0x00000000037d8231 in llvm::DwarfCompileUnit::createScopeChildrenDIE
(this=0x540a390, Scope=0x5482df0, Children=llvm::SmallVector of length 0,
capacity 8, ChildScopeCount=0x0) at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:572
(gdb)
#13 0x00000000037d99b7 in llvm::DwarfCompileUnit::createAndAddScopeChildren
(this=0x540a390, Scope=0x5482df0, ScopeDIE=...) at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:614
(gdb)
#14 0x00000000037d98a4 in llvm::DwarfCompileUnit::constructSubprogramScopeDIE
(this=0x540a390, Sub=0x53cd568, Scope=0x5482df0) at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:594
(gdb)
#15 0x000000000376a087 in llvm::DwarfDebug::endFunctionImpl (this=0x54082c0,
MF=0x5439b60) at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1240
(gdb)
#16 0x00000000037c93c9 in
llvm::DebugHandlerBase::endFunction(llvm::MachineFunction const*) ()
(gdb)
#17 0x0000000003733d6a in llvm::AsmPrinter::EmitFunctionBody (this=0x53fa9a0)
at
/usr/local/google/home/blaikie/dev/llvm/src/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1083
(gdb)
#18 0x0000000003107e61 in
llvm::X86AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) ()
(gdb)
#19 0x0000000003a263b1 in
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) ()
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170316/0030ad2b/attachment-0001.html>
More information about the llvm-bugs
mailing list