[compiler-rt] d464c99 - [ORC] Make tests work with Internal Shell (#168471)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 18:54:17 PST 2025


Author: Aiden Grossman
Date: 2025-11-17T18:54:14-08:00
New Revision: d464c99f595b69d3a34b361b6a935e803c60d308

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

LOG: [ORC] Make tests work with Internal Shell (#168471)

This patch makes objc-imageinfo.S work with the internal shell. The test
uses a subshell to temporarily change the directory. The internal shell
does not support subshells, so this construct was replaced with a
pushd/popd sequence.

Added: 
    

Modified: 
    compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S b/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S
index 78454e33f7356..d5524020f2636 100644
--- a/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S
+++ b/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S
@@ -5,7 +5,9 @@
 
 // RUN: rm -rf %t
 // RUN: split-file %s %t
-// RUN: (cd %t; %clang -c *.S)
+// RUN: pushd %t
+// RUN: %clang -c *.S
+// RUN: popd
 
 // Check individual versions are loadable.
 


        


More information about the llvm-commits mailing list