Skip to content

Commit

Permalink
[mac/arm] Fix test/Driver/darwin-sdk-version.c on arm macs
Browse files Browse the repository at this point in the history
Two invocations in this test used `-m64`, which on an arm mac means
arm64 in the triple, not x86_64.
  • Loading branch information
nico committed Nov 21, 2020
1 parent c473184 commit e91b234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/Driver/darwin-sdk-version.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
// RUN: | FileCheck --check-prefixes=NO_VERSION,ERROR %s

// CHECK: -target-sdk-version=10.14
// INFER_SDK_VERSION: "-triple" "x86_64-apple-macosx10.10.0"
// INFER_SDK_VERSION: "-triple" "{{arm64|x86_64}}-apple-macosx10.10.0"
// INFER_SDK_VERSION-SAME: -target-sdk-version=10.10
// INFER_DEPLOYMENT_TARGET_VERSION: "-triple" "x86_64-apple-macosx10.8.0"
// INFER_DEPLOYMENT_TARGET_VERSION: "-triple" "{{arm64|x86_64}}-apple-macosx10.8.0"
// NO_VERSION-NOT: target-sdk-version
// ERROR: warning: SDK settings were ignored as 'SDKSettings.json' could not be parsed

0 comments on commit e91b234

Please sign in to comment.