1 | // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \ |
2 | // RUN: -target i386-none-linux \ |
3 | // RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \ |
4 | // RUN: -print-multi-directory \ |
5 | // RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86-MULTILIBS %s |
6 | |
7 | // CHECK-X86-MULTILIBS: 32 |
8 | // CHECK-X86-MULTILIBS-NOT: {{^.+$}} |
9 | |
10 | // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \ |
11 | // RUN: -target i386-none-linux -m64 \ |
12 | // RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \ |
13 | // RUN: -print-multi-directory \ |
14 | // RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86_64-MULTILIBS %s |
15 | |
16 | // CHECK-X86_64-MULTILIBS: . |
17 | // CHECK-X86_64-MULTILIBS-NOT: {{^.+$}} |
18 | |
19 | // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \ |
20 | // RUN: -target arm-linux-androideabi21 \ |
21 | // RUN: -mthumb \ |
22 | // RUN: -B%S/Inputs/basic_android_ndk_tree \ |
23 | // RUN: --sysroot=%S/Inputs/basic_android_ndk_tree/sysroot \ |
24 | // RUN: -print-multi-directory \ |
25 | // RUN: | FileCheck --match-full-lines --check-prefix=CHECK-ARM-MULTILIBS %s |
26 | |
27 | // CHECK-ARM-MULTILIBS: thumb |
28 | // CHECK-ARM-MULTILIBS-NOT: {{^.+$}} |
29 | |