mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 02:46:08 +00:00

This is the second patch that upstreams the support for Apple's DriverKit. The first patch: https://reviews.llvm.org/D118046. Differential Revision: https://reviews.llvm.org/D121911
14 lines
477 B
C
14 lines
477 B
C
// RUN: %clang %s -target x86_64-apple-driverkit19.0 \
|
|
// RUN: -isysroot %S/Inputs/DriverKit19.0.sdk -### 2>&1 \
|
|
// RUN: | FileCheck %s -check-prefix=CHECK-DEFAULT
|
|
|
|
// RUN: %clang %s -target x86_64-apple-driverkit19.0 -nodriverkitlib \
|
|
// RUN: -isysroot %S/Inputs/DriverKit19.0.sdk -### 2>&1 \
|
|
// RUN: | FileCheck %s -check-prefix=CHECK-NO-DRIVERKIT
|
|
|
|
int main() { return 0; }
|
|
|
|
// CHECK-DEFAULT: "-framework" "DriverKit"
|
|
|
|
// CHECK-NO-DRIVERKIT-NOT: "-framework" "DriverKit"
|