[llvm] 0f70b44 - [DWARFVerifier] Fix test verify_stmt_seq.yaml to write output files to temp directory. (#161247)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 11:21:25 PDT 2025
Author: Jorge Gorbe Moya
Date: 2025-09-29T18:21:21Z
New Revision: 0f70b440160fb92be3536d26d6d97f4c61de23bd
URL: https://github.com/llvm/llvm-project/commit/0f70b440160fb92be3536d26d6d97f4c61de23bd
DIFF: https://github.com/llvm/llvm-project/commit/0f70b440160fb92be3536d26d6d97f4c61de23bd.diff
LOG: [DWARFVerifier] Fix test verify_stmt_seq.yaml to write output files to temp directory. (#161247)
Added:
Modified:
llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml b/llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml
index 5312c2573902d..17e91f1cc1393 100644
--- a/llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml
+++ b/llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml
@@ -2,9 +2,9 @@
# Then manually tempered with some of the value of the attribute
# I hope there are easier ways to construct tests like this.
-# RUN: yaml2obj %s -o verify_stmt_seq.o
-# RUN: not llvm-dwarfdump -verify -debug-info verify_stmt_seq.o | FileCheck %s --check-prefix=CHECK_INVALID --implicit-check-not=error:
-# RUN: llvm-dwarfdump -debug-line -verbose -debug-info verify_stmt_seq.o | FileCheck %s --check-prefix=CHECK_DEBUG_LINE
+# RUN: yaml2obj %s -o %t.o
+# RUN: not llvm-dwarfdump -verify -debug-info %t.o | FileCheck %s --check-prefix=CHECK_INVALID --implicit-check-not=error:
+# RUN: llvm-dwarfdump -debug-line -verbose -debug-info %t.o | FileCheck %s --check-prefix=CHECK_DEBUG_LINE
# CHECK_INVALID: error: DW_AT_LLVM_stmt_sequence offset 0x00000000 is not within the line table bounds [0x00000034, 0x000000fd)
# CHECK_INVALID: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] (0x00000000)
More information about the llvm-commits
mailing list