[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / split-stack-ld.c
blobf01b1393becaa8be58e2d1f8808990098cf96b81
1 // Test split stack ld flags.
2 //
3 // RUN: %clang -### %s 2>&1 \
4 // RUN: --target=i386-unknown-linux -fsplit-stack \
5 // RUN: -resource-dir=%S/Inputs/resource_dir \
6 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
7 // RUN: | FileCheck --check-prefix=CHECK-LINUX-I386 %s
8 //
9 // CHECK-LINUX-I386: "--wrap=pthread_create"
11 // RUN: %clang -### %s 2>&1 \
12 // RUN: --target=x86_64-unknown-linux -fsplit-stack \
13 // RUN: -resource-dir=%S/Inputs/resource_dir \
14 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
15 // RUN: | FileCheck --check-prefix=CHECK-LINUX-X86-64 %s
17 // CHECK-LINUX-X86-64: "--wrap=pthread_create"