• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Test split stack ld flags.
2 //
3 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 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"
10 //
11 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 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
16 //
17 // CHECK-LINUX-X86-64: "--wrap=pthread_create"
18