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.
This commit is contained in:
Richard Smith 2019-11-12 16:35:36 -08:00
parent e278c138a9
commit 5ad6f279f2
1 changed files with 1 additions and 1 deletions

View File

@ -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"