commit | 15ec085c40cf45726a5c8925706795b52fd231bd | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Sep 14 00:15:32 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Sep 14 00:15:32 2011 +0000 |
tree | cf9e8078e18b77db9652ef418c7e8929525d9bff | |
parent | e640a228f6b1ff280d35a6a33bf78c7e544f9926 [diff] [blame] |
DebugInfo: Don't print DIEs multiple times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139671 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/DebugInfo/DWARFCompileUnit.cpp b/lib/DebugInfo/DWARFCompileUnit.cpp index 389de9d..224ae92 100644 --- a/lib/DebugInfo/DWARFCompileUnit.cpp +++ b/lib/DebugInfo/DWARFCompileUnit.cpp
@@ -95,8 +95,7 @@ << ")\n"; extractDIEsIfNeeded(false); - for (unsigned i = 0, e = DieArray.size(); i != e; ++i) - DieArray[i].dump(OS, this, 10); + DieArray[0].dump(OS, this, -1U); } void DWARFCompileUnit::setDIERelations() {