summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFDebugAranges.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-15 21:59:13 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-15 21:59:13 +0000
commit9013db3399d2847899ba32daf58844bba1aef6dd (patch)
tree4272f2b367e3a90843b6c6676f84d566c7e1a371 /lib/DebugInfo/DWARFDebugAranges.cpp
parent7ecedac8b726926cce5758b791c5e78caff8b5ad (diff)
downloadllvm-9013db3399d2847899ba32daf58844bba1aef6dd.tar.gz
llvm-9013db3399d2847899ba32daf58844bba1aef6dd.tar.bz2
llvm-9013db3399d2847899ba32daf58844bba1aef6dd.tar.xz
DWARF: Reset the state after parsing a line table prologue and remove an unnecessary lookup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugAranges.cpp')
-rw-r--r--lib/DebugInfo/DWARFDebugAranges.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFDebugAranges.cpp b/lib/DebugInfo/DWARFDebugAranges.cpp
index 5053e19b71..576d37d781 100644
--- a/lib/DebugInfo/DWARFDebugAranges.cpp
+++ b/lib/DebugInfo/DWARFDebugAranges.cpp
@@ -100,7 +100,7 @@ void DWARFDebugAranges::dump(raw_ostream &OS) const {
const uint32_t num_ranges = getNumRanges();
for (uint32_t i = 0; i < num_ranges; ++i) {
const Range &range = Aranges[i];
- OS << format("0x%8.8x: [0x%8.8llx - 0x%8.8llx)", range.Offset,
+ OS << format("0x%8.8x: [0x%8.8llx - 0x%8.8llx)\n", range.Offset,
(uint64_t)range.LoPC, (uint64_t)range.HiPC());
}
}