diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-08-19 03:36:23 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-08-19 03:36:23 +0000 |
commit | 175b0b9a3bc8a02b57989bb48735a41dede93b1e (patch) | |
tree | 74ef83b6a70a72a2fad390789c585168a3d4002f /llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp | |
parent | 715528be0bffc028da31ed647f9415269656fc46 (diff) | |
download | bcm5719-llvm-175b0b9a3bc8a02b57989bb48735a41dede93b1e.tar.gz bcm5719-llvm-175b0b9a3bc8a02b57989bb48735a41dede93b1e.zip |
llvm-dwarfdump: Do not include address offsets for attributes, only for tags
This reduces the noise in diffs making it more likely that, at least for
LLVM revision-over-revision, diffs will actually yield usable results.
This is consistent with objdump's DWARF dumping behavior.
llvm-svn: 188650
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp index 0c7b7e36771..9abf8dd2623 100644 --- a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp @@ -71,7 +71,7 @@ void DWARFDebugInfoEntryMinimal::dumpAttribute(raw_ostream &OS, uint16_t attr, uint16_t form, unsigned indent) const { - OS << format("0x%8.8x: ", *offset_ptr); + OS << " "; OS.indent(indent+2); const char *attrString = AttributeString(attr); if (attrString) |