[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
llvm-svn: 314294

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

index 25c2f90..35a494f 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 30bfa4f..64b20e0 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