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