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)
commita9b697975592b204e86496efc62a8b26fbfa1a03
treeec4900b4dd5f306eb0abcde52f960bae0ea1e58a
parent2883fd4df4bba4bb57b984bcea5fa896d435a662
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188650 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFDebugInfoEntry.cpp
test/DebugInfo/X86/DW_AT_specification.ll
test/DebugInfo/X86/DW_TAG_friend.ll
test/DebugInfo/X86/block-capture.ll
test/DebugInfo/X86/elf-names.ll
test/DebugInfo/X86/nondefault-subrange-array.ll
test/DebugInfo/X86/objc-fwd-decl.ll
test/DebugInfo/X86/pr11300.ll