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 | a9b697975592b204e86496efc62a8b26fbfa1a03 (patch) | |
tree | ec4900b4dd5f306eb0abcde52f960bae0ea1e58a /test/DebugInfo/X86/elf-names.ll | |
parent | 2883fd4df4bba4bb57b984bcea5fa896d435a662 (diff) | |
download | external_llvm-a9b697975592b204e86496efc62a8b26fbfa1a03.zip external_llvm-a9b697975592b204e86496efc62a8b26fbfa1a03.tar.gz external_llvm-a9b697975592b204e86496efc62a8b26fbfa1a03.tar.bz2 |
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
Diffstat (limited to 'test/DebugInfo/X86/elf-names.ll')
-rw-r--r-- | test/DebugInfo/X86/elf-names.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/DebugInfo/X86/elf-names.ll b/test/DebugInfo/X86/elf-names.ll index 7bc532e..12d8005 100644 --- a/test/DebugInfo/X86/elf-names.ll +++ b/test/DebugInfo/X86/elf-names.ll @@ -3,12 +3,12 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck --check-prefix=CHECK-DIS %s ; CHECK: 0x0000000b: DW_TAG_compile_unit -; CHECK: 0x00000012: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000035] = "foo.cpp") +; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000035] = "foo.cpp") ; CHECK: 0x0000003c: DW_TAG_class_type -; CHECK: 0x0000003d: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000006d] = "D") +; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000006d] = "D") ; CHECK: 0x00000044: DW_TAG_member -; CHECK: 0x00000045: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000005d] = "c1") -; CHECK: 0x0000008d: DW_AT_artificial [DW_FORM_flag_present] (true) +; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000005d] = "c1") +; CHECK: DW_AT_artificial [DW_FORM_flag_present] (true) ; CHECK-DIS: [artificial] |