summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-19 03:36:23 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-19 03:36:23 +0000
commit175b0b9a3bc8a02b57989bb48735a41dede93b1e (patch)
tree74ef83b6a70a72a2fad390789c585168a3d4002f /llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
parent715528be0bffc028da31ed647f9415269656fc46 (diff)
downloadbcm5719-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.cpp2
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)
OpenPOWER on IntegriCloud