[clang] [llvm] Hurd: Add x86_64 support (PR #78065)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 14 17:16:21 PST 2024
================
@@ -2652,6 +2652,31 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
return;
}
+ if (TargetTriple.isOSHurd()) {
+ static const char *const X86_64HurdTriples[] = {"x86_64-gnu"};
----------------
MaskRay wrote:
Since there is just one, `TripleAliases.push_back("x86_64-gnu")` will be clearer and less verbose.
https://github.com/llvm/llvm-project/pull/78065
More information about the cfe-commits
mailing list