DWARF: Print line tables per compile unit, so they get the right address size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139808 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2011-09-15 18:02:20 +00:00
parent 10ec65004d
commit fe80f1da40
3 changed files with 23 additions and 5 deletions
+1 -2
View File
@@ -94,8 +94,7 @@ void DWARFCompileUnit::dump(raw_ostream &OS) {
<< " (next CU at " << format("0x%08x", getNextCompileUnitOffset())
<< ")\n";
extractDIEsIfNeeded(false);
DieArray[0].dump(OS, this, -1U);
getCompileUnitDIE(false)->dump(OS, this, -1U);
}
void DWARFCompileUnit::setDIERelations() {