From 2bc4c5411f774d4a9d41ad6b808790c36d389e88 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 27 Sep 2017 10:23:34 +0000 Subject: [PATCH] [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 --- llvm/test/DebugInfo/Generic/lto-comp-dir.ll | 4 ++-- llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/test/DebugInfo/Generic/lto-comp-dir.ll b/llvm/test/DebugInfo/Generic/lto-comp-dir.ll index 25c2f90..35a494f 100644 --- a/llvm/test/DebugInfo/Generic/lto-comp-dir.ll +++ b/llvm/test/DebugInfo/Generic/lto-comp-dir.ll @@ -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 diff --git a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll index 30bfa4f..64b20e0 100644 --- a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll +++ b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll @@ -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 -- 2.7.4