[clang] 5ad6f27 - Don't assume that the clang binary's resolved name includes the string

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 16:37:16 PST 2019


Author: Richard Smith
Date: 2019-11-12T16:37:05-08:00
New Revision: 5ad6f279f26cd6ce77e4fa6b8df2b23be73d7beb

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

LOG: 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.

Added: 
    

Modified: 
    clang/test/Driver/arm64_32-link.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/arm64_32-link.c b/clang/test/Driver/arm64_32-link.c
index 47f0ccf0cecb..972ae6a234e1 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"


        


More information about the cfe-commits mailing list