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/test/DebugInfo/X86/nondefault-subrange-array.ll | |
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/test/DebugInfo/X86/nondefault-subrange-array.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/nondefault-subrange-array.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll b/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll index a5f786c26b2..49dccb28c0f 100644 --- a/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll +++ b/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll @@ -9,21 +9,21 @@ ; goes from [-3, 38]. ; CHECK: 0x0000002d: DW_TAG_base_type [3] -; CHECK-NEXT: 0x0000002e: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000041] = "int") -; CHECK-NEXT: 0x00000032: DW_AT_byte_size [DW_FORM_data1] (0x04) -; CHECK-NEXT: 0x00000033: DW_AT_encoding [DW_FORM_data1] (0x05) +; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000041] = "int") +; CHECK-NEXT: DW_AT_byte_size [DW_FORM_data1] (0x04) +; CHECK-NEXT: DW_AT_encoding [DW_FORM_data1] (0x05) ; CHECK: 0x00000034: DW_TAG_array_type [4] * -; CHECK-NEXT: 0x00000035: DW_AT_type [DW_FORM_ref4] (cu + 0x0026 => {0x00000026}) +; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x0026 => {0x00000026}) ; CHECK: 0x00000039: DW_TAG_subrange_type [5] -; CHECK-NEXT: 0x0000003a: DW_AT_type [DW_FORM_ref4] (cu + 0x002d => {0x0000002d}) -; CHECK-NEXT: 0x0000003e: DW_AT_lower_bound [DW_FORM_data8] (0xfffffffffffffffd) -; CHECK-NEXT: 0x00000046: DW_AT_upper_bound [DW_FORM_data1] (0x26) +; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x002d => {0x0000002d}) +; CHECK-NEXT: DW_AT_lower_bound [DW_FORM_data8] (0xfffffffffffffffd) +; CHECK-NEXT: DW_AT_upper_bound [DW_FORM_data1] (0x26) ; CHECK: 0x00000055: DW_TAG_member [8] -; CHECK-NEXT: 0x00000056: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000003f] = "x") -; CHECK-NEXT: 0x0000005a: DW_AT_type [DW_FORM_ref4] (cu + 0x0034 => {0x00000034}) +; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000003f] = "x") +; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x0034 => {0x00000034}) !llvm.dbg.cu = !{!0} |