2018-09-11 14:48:45 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \
|
2018-09-06 22:03:44 +08:00
|
|
|
// RUN: -target i386-none-linux \
|
2018-10-04 02:24:05 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \
|
2018-09-06 22:03:44 +08:00
|
|
|
// RUN: -print-multi-directory \
|
2018-09-12 16:59:17 +08:00
|
|
|
// RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86-MULTILIBS %s
|
2018-09-06 22:03:44 +08:00
|
|
|
|
|
|
|
// CHECK-X86-MULTILIBS: 32
|
2018-09-12 16:59:17 +08:00
|
|
|
// CHECK-X86-MULTILIBS-NOT: {{^.+$}}
|
2018-09-06 22:03:44 +08:00
|
|
|
|
2018-09-11 14:48:45 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \
|
2018-09-06 22:03:44 +08:00
|
|
|
// RUN: -target i386-none-linux -m64 \
|
2018-10-04 02:24:05 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \
|
2018-09-06 22:03:44 +08:00
|
|
|
// RUN: -print-multi-directory \
|
2018-09-12 16:59:17 +08:00
|
|
|
// RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86_64-MULTILIBS %s
|
2018-09-06 22:03:44 +08:00
|
|
|
|
|
|
|
// CHECK-X86_64-MULTILIBS: .
|
2018-09-12 16:59:17 +08:00
|
|
|
// CHECK-X86_64-MULTILIBS-NOT: {{^.+$}}
|
2018-09-06 22:03:44 +08:00
|
|
|
|
2018-09-11 14:48:45 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \
|
2018-09-06 22:03:44 +08:00
|
|
|
// RUN: -target arm-linux-androideabi21 \
|
|
|
|
// RUN: -mthumb \
|
|
|
|
// RUN: -B%S/Inputs/basic_android_ndk_tree \
|
|
|
|
// RUN: --sysroot=%S/Inputs/basic_android_ndk_tree/sysroot \
|
|
|
|
// RUN: -print-multi-directory \
|
2018-09-12 16:59:17 +08:00
|
|
|
// RUN: | FileCheck --match-full-lines --check-prefix=CHECK-ARM-MULTILIBS %s
|
2018-09-06 22:03:44 +08:00
|
|
|
|
|
|
|
// CHECK-ARM-MULTILIBS: thumb
|
2018-09-12 16:59:17 +08:00
|
|
|
// CHECK-ARM-MULTILIBS-NOT: {{^.+$}}
|