| 1 |
/// Test that -dumpmachine prints the target triple. |
| 2 |
|
| 3 |
/// Note: Debian GCC may omit "unknown-". |
| 4 |
// RUN: %clang --target=x86_64-linux-gnu -dumpmachine | FileCheck %s --check-prefix=X86_64 |
| 5 |
// X86_64: x86_64-unknown-linux-gnu |
| 6 |
|
| 7 |
/// Note: GCC doesn't convert -dumpmachine output for multilib -m32/-mx32/-m64. |
| 8 |
// RUN: %clang --target=x86_64-redhat-linux -m32 -dumpmachine | FileCheck %s --check-prefix=X86_64_M32 |
| 9 |
// X86_64_M32: i386-redhat-linux |
| 10 |
|
| 11 |
// RUN: %clang --target=xxx-pc-freebsd -dumpmachine | FileCheck %s --check-prefix=FREEBSD |
| 12 |
// FREEBSD: xxx-pc-freebsd |