<html>
<head>
<base href="http://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - .gdb_index is broken/incomplete"
href="http://bugs.llvm.org/show_bug.cgi?id=32319">32319</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>.gdb_index is broken/incomplete
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>ELF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ruiu@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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&) ()</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>