From 5ad6f279f26cd6ce77e4fa6b8df2b23be73d7beb Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 12 Nov 2019 16:35:36 -0800 Subject: [PATCH] Don't assume that the clang binary's resolved name includes the string 'clang'. This is not true in practice in some content-addressed file systems. --- clang/test/Driver/arm64_32-link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/arm64_32-link.c b/clang/test/Driver/arm64_32-link.c index 47f0ccf..972ae6a 100644 --- a/clang/test/Driver/arm64_32-link.c +++ b/clang/test/Driver/arm64_32-link.c @@ -1,4 +1,4 @@ // RUN: %clang -target x86_64-apple-darwin -arch arm64_32 -miphoneos-version-min=8.0 %s -### 2>&1 | FileCheck %s -// CHECK: clang{{.*}} "-triple" "aarch64_32-apple-ios8.0.0" +// CHECK: "-cc1"{{.*}} "-triple" "aarch64_32-apple-ios8.0.0" // CHECK: ld{{.*}} "-arch" "arm64_32" -- 2.7.4