Skip to content

Commit 51598ce

Browse files
slackitomahesh-attarde
authored andcommitted
[DWARFVerifier] Fix test verify_stmt_seq.yaml to write output files to temp directory. (llvm#161247)
1 parent 6afe8d6 commit 51598ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Then manually tempered with some of the value of the attribute
33
# I hope there are easier ways to construct tests like this.
44

5-
# RUN: yaml2obj %s -o verify_stmt_seq.o
6-
# RUN: not llvm-dwarfdump -verify -debug-info verify_stmt_seq.o | FileCheck %s --check-prefix=CHECK_INVALID --implicit-check-not=error:
7-
# RUN: llvm-dwarfdump -debug-line -verbose -debug-info verify_stmt_seq.o | FileCheck %s --check-prefix=CHECK_DEBUG_LINE
5+
# RUN: yaml2obj %s -o %t.o
6+
# RUN: not llvm-dwarfdump -verify -debug-info %t.o | FileCheck %s --check-prefix=CHECK_INVALID --implicit-check-not=error:
7+
# RUN: llvm-dwarfdump -debug-line -verbose -debug-info %t.o | FileCheck %s --check-prefix=CHECK_DEBUG_LINE
88

99
# CHECK_INVALID: error: DW_AT_LLVM_stmt_sequence offset 0x00000000 is not within the line table bounds [0x00000034, 0x000000fd)
1010
# CHECK_INVALID: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] (0x00000000)

0 commit comments

Comments
 (0)