summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-09-04 22:21:24 +0000
committerEric Christopher <echristo@gmail.com>2013-09-04 22:21:24 +0000
commite31e072c3363e49eb1e2b24181384663b4ffb36c (patch)
tree6c6241aa0bb384c5516221a001db1af8db860d1e /llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll
parent99dab3b43c3a40a1281ba510e507d94a0ec3d336 (diff)
downloadbcm5719-llvm-e31e072c3363e49eb1e2b24181384663b4ffb36c.tar.gz
bcm5719-llvm-e31e072c3363e49eb1e2b24181384663b4ffb36c.zip
Remove hack ensuring that darwin didn't produce dwarf > 3 for modules
without a limiting factor. Update all testcases accordingly. llvm-svn: 190002
Diffstat (limited to 'llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll')
-rw-r--r--llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll34
1 files changed, 18 insertions, 16 deletions
diff --git a/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll b/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll
index c84ed042726..283d4f99a3a 100644
--- a/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll
+++ b/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll
@@ -28,34 +28,36 @@ declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone
; An empty array should not have an AT_upper_bound attribute. But an array of 1
; should.
-; CHECK: 0x00000074: DW_TAG_base_type [5]
-; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000043] = "int")
+; CHECK: DW_TAG_base_type [5]
+; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "int")
; CHECK-NEXT: DW_AT_encoding [DW_FORM_data1] (0x05)
; CHECK-NEXT: DW_AT_byte_size [DW_FORM_data1] (0x04)
; int[1]:
-; CHECK: 0x00000082: DW_TAG_array_type [7] *
-; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x0074 => {0x00000074})
-; CHECK: 0x00000087: DW_TAG_subrange_type [8]
-; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x007b => {0x0000007b})
+; CHECK: DW_TAG_array_type [7] *
+; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
+; CHECK: DW_TAG_subrange_type [8]
+; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
; CHECK-NEXT: DW_AT_upper_bound [DW_FORM_data1] (0x00)
; int foo::b[1]:
-; CHECK: 0x000000a5: DW_TAG_member [10]
-; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000050] = "b")
-; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x0082 => {0x00000082})
+; CHECK: DW_TAG_member [10]
+; CHECK: DW_TAG_member [10]
+; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "b")
+; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
; int[0]:
-; CHECK: 0x000000b5: DW_TAG_array_type [7] *
-; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x0074 => {0x00000074})
-; CHECK: 0x000000ba: DW_TAG_subrange_type [11]
-; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x007b => {0x0000007b})
+; CHECK: DW_TAG_array_type [7] *
+; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
+; CHECK: DW_TAG_subrange_type [11]
+; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
; CHECK-NOT: DW_AT_upper_bound
; int bar::b[0]:
-; CHECK: 0x000000d7: DW_TAG_member [10]
-; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000050] = "b")
-; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + 0x00b5 => {0x000000b5})
+; CHECK: DW_TAG_member [10]
+; CHECK: DW_TAG_member [10]
+; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "b")
+; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
!llvm.dbg.cu = !{!0}
OpenPOWER on IntegriCloud