2023-03-15 13:46:51 -04:00
|
|
|
// RUN: %clang -### %s \
|
2022-05-01 20:44:13 -07:00
|
|
|
// RUN: --target=i386-none-linux \
|
2018-10-03 18:24:05 +00:00
|
|
|
// RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \
|
2023-03-15 13:46:51 -04:00
|
|
|
// RUN: -print-multi-directory 2>/dev/null \
|
2018-09-12 08:59:17 +00:00
|
|
|
// RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86-MULTILIBS %s
|
2018-09-06 14:03:44 +00:00
|
|
|
|
|
|
|
// CHECK-X86-MULTILIBS: 32
|
2018-09-12 08:59:17 +00:00
|
|
|
// CHECK-X86-MULTILIBS-NOT: {{^.+$}}
|
2018-09-06 14:03:44 +00:00
|
|
|
|
2023-03-15 13:46:51 -04:00
|
|
|
// RUN: %clang -### %s \
|
2022-05-01 20:44:13 -07:00
|
|
|
// RUN: --target=i386-none-linux -m64 \
|
2018-10-03 18:24:05 +00:00
|
|
|
// RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \
|
2023-03-15 13:46:51 -04:00
|
|
|
// RUN: -print-multi-directory 2>/dev/null \
|
2018-09-12 08:59:17 +00:00
|
|
|
// RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86_64-MULTILIBS %s
|
2018-09-06 14:03:44 +00:00
|
|
|
|
|
|
|
// CHECK-X86_64-MULTILIBS: .
|
2018-09-12 08:59:17 +00:00
|
|
|
// CHECK-X86_64-MULTILIBS-NOT: {{^.+$}}
|
2018-09-06 14:03:44 +00:00
|
|
|
|
2023-03-15 13:46:51 -04:00
|
|
|
// RUN: %clang -### %s \
|
2022-05-01 20:44:13 -07:00
|
|
|
// RUN: --target=arm-linux-androideabi21 \
|
2018-09-06 14:03:44 +00:00
|
|
|
// RUN: -mthumb \
|
2021-03-19 15:42:18 -07:00
|
|
|
// RUN: --gcc-toolchain=%S/Inputs/basic_android_ndk_tree \
|
2018-09-06 14:03:44 +00:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_android_ndk_tree/sysroot \
|
2023-03-15 13:46:51 -04:00
|
|
|
// RUN: -print-multi-directory 2>/dev/null \
|
2018-09-12 08:59:17 +00:00
|
|
|
// RUN: | FileCheck --match-full-lines --check-prefix=CHECK-ARM-MULTILIBS %s
|
2018-09-06 14:03:44 +00:00
|
|
|
|
|
|
|
// CHECK-ARM-MULTILIBS: thumb
|
2018-09-12 08:59:17 +00:00
|
|
|
// CHECK-ARM-MULTILIBS-NOT: {{^.+$}}
|