[DWARFVerifier] Fix test verify_stmt_seq.yaml to write output files to temp directory. (#161247)

This commit is contained in:
Jorge Gorbe Moya 2025-09-29 11:21:21 -07:00 committed by GitHub
parent 2522a95354
commit 0f70b44016
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)