Author: Anutosh Bhat
Date: 2026-11-09T07:25:32Z
New Revision: f5122a8196234eaf28f0ad724b45d42f7f990f85

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

LOG: [clang] Fix ARM64X driver checks for in-process cc1 (#240278)

I missed updating `arm64x.c` in #222531. It uses `CHECK-NEXT` between
the two cc1 commands, but in-process execution now prints `(in-process)`
between them, causing the Fuchsia buildbot failure.

This adjusts the check and adds explicit coverage for both cc1 modes.
Both pass locally. Could we take this small test-only follow-up without
reverting and relanding #222531?

Added: 
    

Modified: 
    clang/test/Driver/arm64x.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/arm64x.c b/clang/test/Driver/arm64x.c
index f2c187cc1cfce9..d17bcb438a87a2 100644
--- a/clang/test/Driver/arm64x.c
+++ b/clang/test/Driver/arm64x.c
@@ -2,7 +2,9 @@
 // RUN: %clang -c -marm64x  --target=arm64ec-pc-windows-gnu -### %s 2>&1 | 
FileCheck %s
 // RUN: %clang -c -marm64x  --target=aarch64-pc-windows-msvc -### %s 2>&1 | 
FileCheck %s
 // RUN: %clang -c -marm64x  --target=aarch64-pc-windows-gnu -### %s 2>&1 | 
FileCheck %s
+// RUN: %clang -fintegrated-cc1 -c -marm64x --target=arm64ec-pc-windows-msvc 
-### %s 2>&1 | FileCheck %s
+// RUN: %clang -fno-integrated-cc1 -c -marm64x 
--target=arm64ec-pc-windows-msvc -### %s 2>&1 | FileCheck %s
 
 // CHECK:      "-cc1" "-triple" "aarch64-pc-windows-{{.*}}" "-emit-obj"
-// CHECK-NEXT: "-cc1" "-triple" "arm64ec-pc-windows-{{.*}}" "-emit-obj"
+// CHECK:      "-cc1" "-triple" "arm64ec-pc-windows-{{.*}}" "-emit-obj"
 // CHECK-NEXT: llvm-objcopy" 
"--add-section=.obj.arm64ec={{.*}}arm64x-arm64ec-{{.*}}.o" 
"--set-section-flags=.obj.arm64ec=exclude" "{{.*}}arm64x-aarch64-{{.*}}.o" 
"arm64x.o"


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to