]> granicus.if.org Git - llvm/commitdiff
[test] Don't verify .debug_line offsets in bitcode tests.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 Sep 2017 10:23:34 +0000 (10:23 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 Sep 2017 10:23:34 +0000 (10:23 +0000)
The exact values of the .debug_line offsets should not be hard-coded in
the checks for bitcode tests.

Fixes: http://bb.pgr.jp/builders/test-llvm-i686-linux-RA/builds/543
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314294 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/Generic/lto-comp-dir.ll
test/DebugInfo/X86/stmt-list-multiple-compile-units.ll

index 25c2f90d8cd5512df4d72492cc69fafbb20c81d8..35a494f2e58433f05af96c88a2ee50c9ded977cb 100644 (file)
@@ -8,13 +8,13 @@
 ; to refer to it.
 
 ; CHECK: .debug_line contents:
-; CHECK-NEXT: debug_line[0x00000000]
+; CHECK-NEXT: debug_line[{{.*}}]
 ; CHECK-NEXT: Line table prologue:
 ; CHECK-NOT: include_directories
 ; CHECK: file_names[   1]   0 {{.*}} a.cpp
 ; CHECK-NOT: file_names
 
-; CHECK: debug_line[0x00000039]
+; CHECK: debug_line[{{.*}}]
 ; CHECK-NEXT: Line table prologue:
 ; CHECK-NOT: include_directories
 ; CHECK: file_names[   1]   0 {{.*}} b.cpp
index 30bfa4f7e9e0a7ff8a3f466c8537eca1d6d87d40..64b20e04dee7ad502db9c17192a94d525781850e 100644 (file)
 
 
 ; CHECK: .debug_line contents:
-; CHECK-NEXT: debug_line[0x00000000]
+; CHECK-NEXT: debug_line[{{.*}}]
 ; CHECK-NEXT: Line table prologue:
 ; CHECK-NEXT: total_length: 0x00000038
 ; CHECK: file_names[  1]    0 0x00000000 0x00000000 simple.c
-; CHECK: debug_line[0x0000003c]
+; CHECK: debug_line[{{.*}}]
 ; CHECK-NEXT: Line table prologue:
 ; CHECK-NEXT: total_length: 0x00000039
 ; CHECK: file_names[  1]    0 0x00000000 0x00000000 simple2.c
 
 
 ; DWARF3: .debug_line contents:
-; DWARF3-NEXT: debug_line[0x00000000]
+; DWARF3-NEXT: debug_line[{{.*}}]
 ; DWARF3-NEXT: Line table prologue:
 ; DWARF3-NEXT: total_length: 0x00000038
 ; DWARF3: file_names[  1]    0 0x00000000 0x00000000 simple.c
-; DWARF3: debug_line[0x0000003c]
+; DWARF3: debug_line[{{.*}}]
 ; DWARF3-NEXT: Line table prologue:
 ; DWARF3-NEXT: total_length: 0x00000039
 ; DWARF3: file_names[  1]    0 0x00000000 0x00000000 simple2.c