================ @@ -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(); ---------------- RossComputerGuy wrote:
Oh, why does x86 use it? https://github.com/llvm/llvm-project/blob/ee4c8b556c5cf42c55ce9540bbb0e29c11894a71/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp#L455-L456 Is it because of the win64 calling convention? https://github.com/llvm/llvm-project/pull/136247 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits