llvm-dwarfdump: Do not include address offsets for attributes, only for tags
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 19 Aug 2013 03:36:23 +0000 (03:36 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 19 Aug 2013 03:36:23 +0000 (03:36 +0000)
commit175b0b9a3bc8a02b57989bb48735a41dede93b1e
tree74ef83b6a70a72a2fad390789c585168a3d4002f
parent715528be0bffc028da31ed647f9415269656fc46
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
llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
llvm/test/DebugInfo/X86/DW_AT_specification.ll
llvm/test/DebugInfo/X86/DW_TAG_friend.ll
llvm/test/DebugInfo/X86/block-capture.ll
llvm/test/DebugInfo/X86/elf-names.ll
llvm/test/DebugInfo/X86/nondefault-subrange-array.ll
llvm/test/DebugInfo/X86/objc-fwd-decl.ll
llvm/test/DebugInfo/X86/pr11300.ll