[llvm] r314294 - [test] Don't verify .debug_line offsets in bitcode tests.
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 03:23:35 PDT 2017
Author: jdevlieghere
Date: Wed Sep 27 03:23:34 2017
New Revision: 314294
URL: http://llvm.org/viewvc/llvm-project?rev=314294&view=rev
Log:
[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
Modified:
llvm/trunk/test/DebugInfo/Generic/lto-comp-dir.ll
llvm/trunk/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
Modified: llvm/trunk/test/DebugInfo/Generic/lto-comp-dir.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Generic/lto-comp-dir.ll?rev=314294&r1=314293&r2=314294&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/Generic/lto-comp-dir.ll (original)
+++ llvm/trunk/test/DebugInfo/Generic/lto-comp-dir.ll Wed Sep 27 03:23:34 2017
@@ -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
Modified: llvm/trunk/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll?rev=314294&r1=314293&r2=314294&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll Wed Sep 27 03:23:34 2017
@@ -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
More information about the llvm-commits
mailing list