[llvm] 3e5b86c - [AArch64] [test] Write the seh.s test output object to a file

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 03:35:47 PST 2025


Author: Martin Storsjö
Date: 2025-12-02T13:33:50+02:00
New Revision: 3e5b86cec112f5f5639c71bd54e7ca7862cf58bb

URL: https://github.com/llvm/llvm-project/commit/3e5b86cec112f5f5639c71bd54e7ca7862cf58bb
DIFF: https://github.com/llvm/llvm-project/commit/3e5b86cec112f5f5639c71bd54e7ca7862cf58bb.diff

LOG: [AArch64] [test] Write the seh.s test output object to a file

This is what is done in other tests; this makes it easier to
inspect the output of this test manually.

Added: 
    

Modified: 
    llvm/test/MC/AArch64/seh.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/AArch64/seh.s b/llvm/test/MC/AArch64/seh.s
index 5e194568f62dd..d1df900403f0a 100644
--- a/llvm/test/MC/AArch64/seh.s
+++ b/llvm/test/MC/AArch64/seh.s
@@ -1,6 +1,7 @@
 // This test checks that the SEH directives emit the correct unwind data.
 
-// RUN: llvm-mc -triple aarch64-pc-win32 -filetype=obj %s | llvm-readobj -S -r -u - | FileCheck %s
+// RUN: llvm-mc -triple aarch64-pc-win32 -filetype=obj %s -o %t.o
+// RUN: llvm-readobj -S -r -u %t.o | FileCheck %s
 
 // Check that the output assembler directives also can be parsed, and
 // that they produce equivalent output:


        


More information about the llvm-commits mailing list