[clang] [clang] fix uefi target for aarch64 & x86_64 (PR #120632)
Tristan Ross via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 19 14:03:50 PST 2024
================
@@ -165,6 +165,9 @@ std::unique_ptr<TargetInfo> AllocateTarget(const llvm::Triple &Triple,
case llvm::Triple::OpenBSD:
return std::make_unique<OpenBSDTargetInfo<AArch64leTargetInfo>>(Triple,
Opts);
+ case llvm::Triple::UEFI:
+ return std::make_unique<UEFIAArch64TargetInfo>(Triple, Opts);
----------------
RossComputerGuy wrote:
I think so or it might be better to leave the data layout to the architecture side. The call convention is simple enough that it could be in the mixin.
https://github.com/llvm/llvm-project/pull/120632
More information about the cfe-commits
mailing list