Skip to content

Commit 8624316

Browse files
committed
fix
1 parent 86303fb commit 8624316

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

llvm/test/DebugInfo/RISCV/relax_dwo_ranges.ll

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
; RUN: llc -dwarf-version=5 -split-dwarf-file=foo.dwo -O0 %s -mtriple=riscv64-unknown-linux-gnu -filetype=obj -o %t
22
; RUN: llvm-dwarfdump -v %t | FileCheck --check-prefix=DWARF5 %s
3-
; RUN: llvm-dwarfdump --debug-info %t 2> %t.txt
4-
; RUN: FileCheck --input-file=%t.txt %s --check-prefix=RELOCS --allow-empty --implicit-check-not=warning:
3+
; RUN: llvm-dwarfdump --debug-info %t > /dev/null 2>&1 | count 0
4+
; RUN: llvm-objdump -h %t | FileCheck --check-prefix=HDR %s
55

66
; RUN: llc -dwarf-version=4 -split-dwarf-file=foo.dwo -O0 %s -mtriple=riscv64-unknown-linux-gnu -filetype=obj -o %t
77
; RUN: llvm-dwarfdump -v %t | FileCheck --check-prefix=DWARF4 %s
8-
; RUN: llvm-dwarfdump --debug-info %t 2> %t.txt
9-
; RUN: FileCheck --input-file=%t.txt %s --check-prefix=RELOCS --allow-empty --implicit-check-not=warning:
8+
; RUN: llvm-dwarfdump --debug-info %t > /dev/null 2>&1 | count 0
109
; RUN: llvm-objdump -h %t | FileCheck --check-prefix=HDR %s
1110

1211
; In the RISC-V architecture, the .text section is subject to
@@ -50,8 +49,6 @@
5049

5150
; clang -g -S -gsplit-dwarf --target=riscv64 -march=rv64gc -O0 relax_dwo_ranges.cpp
5251

53-
; RELOCS-NOT: warning:
54-
5552
; Make sure we don't produce any relocations in any .dwo section
5653
; HDR-NOT: .rela.{{.*}}.dwo
5754

0 commit comments

Comments
 (0)