[llvm] [clang] Hurd: Add x86_64 support (PR #78065)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 13 18:35:07 PST 2024
================
@@ -78,3 +78,82 @@
// CHECK-CROSS: "{{.*}}/Inputs/basic_cross_hurd_tree/usr/lib/gcc/i686-gnu/10/../../../../i686-gnu/bin/ld" {{.*}} "-m" "elf_i386"
// CHECK-CROSS: "{{.*}}/Inputs/basic_cross_hurd_tree/usr/lib/gcc/i686-gnu/10/crtbegin.o"
// CHECK-CROSS: "-L{{.*}}/Inputs/basic_cross_hurd_tree/usr/lib/gcc/i686-gnu/10/../../../../i686-gnu/lib"
+
+// RUN: %clang -### %s --target=x86_64-pc-hurd-gnu --sysroot=%S/Inputs/basic_hurd_tree \
+// RUN: --stdlib=platform 2>&1 | FileCheck --check-prefix=CHECK-64 %s
+// CHECK-64: "-cc1"
----------------
MaskRay wrote:
indent "-cc1"
https://github.com/llvm/llvm-project/pull/78065
More information about the cfe-commits
mailing list