[test] Don't verify .debug_line offsets in bitcode tests.

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
This commit is contained in:
Jonas Devlieghere 2017-09-27 10:23:34 +00:00
parent 3b0d9e789e
commit 2bc4c5411f
2 changed files with 6 additions and 6 deletions

View 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

View File

@ -24,11 +24,11 @@
; 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
@ -43,11 +43,11 @@
; 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