Files
clang-p2996/clang/test/Driver/darwin-objc-runtime-maccatalyst.m
Alex Lorenz 2542c1a5a1 [clang][driver][darwin] Add driver support for Mac Catalyst
This commit adds driver support for the Mac Catalyst target,
as supported by the Apple clang compile

Differential Revision: https://reviews.llvm.org/D105960
2021-07-22 10:20:19 -07:00

14 lines
878 B
Matlab

// RUN: %clang -target x86_64-apple-ios13.2-macabi -isysroot %S/Inputs/MacOSX10.15.versioned.sdk -c %s -### 2>&1 \
// RUN: | FileCheck %s
// RUN: %clang -target x86_64-apple-ios13.2.0-macabi -isysroot %S/Inputs/MacOSX10.15.versioned.sdk -c %s -### 2>&1 \
// RUN: | FileCheck %s
// RUN: %clang -target x86_64-apple-ios13.2-macabi -isysroot %S/Inputs/MacOSX10.14.sdk -c %s -### 2>&1 \
// RUN: | FileCheck --check-prefix=FALLBACK-DEFAULT %s
// RUN: %clang -target x86_64-apple-ios12.99.99-macabi -isysroot %S/Inputs/MacOSX10.15.versioned.sdk -c %s -### 2>&1 \
// RUN: | FileCheck --check-prefix=FALLBACK-DEFAULT %s
// RUN: %clang -target x86_64-apple-ios-macabi -isysroot %S/Inputs/MacOSX10.15.versioned.sdk -c %s -### 2>&1 \
// RUN: | FileCheck --check-prefix=FALLBACK-DEFAULT %s
// CHECK: -fobjc-runtime=macosx-10.15.1
// FALLBACK-DEFAULT: -fobjc-runtime=macosx-10.15