[compiler-rt] [ORC] Fix obj-imageinfo.S on X86 Darwin (PR #169104)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 21 14:01:23 PST 2025


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/169104

d464c99f595b69d3a34b361b6a935e803c60d308 fixes this test on AArch64 Darwin, but I did not realize that there was another X86 version of the test. This patch also updates the X86 version of the test in a similar manner.

>From 0a7f521d1bb871556f1dc78c795b56fa5ee20c33 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 21 Nov 2025 22:00:07 +0000
Subject: [PATCH] [ORC] Fix obj-imageinfo.S on X86 Darwin

d464c99f595b69d3a34b361b6a935e803c60d308 fixes this test on AArch64
Darwin, but I did not realize that there was another X86 version of the
test. This patch also updates the X86 version of the test in a similar
manner.
---
 compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-imageinfo.S | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-imageinfo.S b/compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-imageinfo.S
index ae02ada4032fd..1cab9e28c51be 100644
--- a/compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-imageinfo.S
+++ b/compiler-rt/test/orc/TestCases/Darwin/x86-64/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