[clang] [llvm] [clang][uefi] add arm, aarch64, x86, loongarch64, riscv64 targets (PR #136247)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 22:46:01 PDT 2025


================
@@ -352,6 +352,8 @@ static MCAsmInfo *createAArch64MCAsmInfo(const MCRegisterInfo &MRI,
     MAI = new AArch64MCAsmInfoMicrosoftCOFF();
   else if (TheTriple.isOSBinFormatCOFF())
     MAI = new AArch64MCAsmInfoGNUCOFF();
+  else if (TheTriple.isUEFI())
+    MAI = new AArch64MCAsmInfoGNUCOFF();
----------------
petrhosek wrote:

We shouldn't be using GNU COFF for UEFI, we should be using Microsoft COFF.

https://github.com/llvm/llvm-project/pull/136247


More information about the llvm-commits mailing list