[clang] [clang] Handle CC attrs for UEFI (PR #138935)
Prabhu Rajasekaran via cfe-commits
cfe-commits at lists.llvm.org
Wed May 7 12:30:32 PDT 2025
================
@@ -581,8 +581,11 @@ CodeGenTypes::arrangeObjCMessageSendSignature(const ObjCMethodDecl *MD,
}
FunctionType::ExtInfo einfo;
- bool IsWindows = getContext().getTargetInfo().getTriple().isOSWindows();
- einfo = einfo.withCallingConv(getCallingConventionForDecl(MD, IsWindows));
+ bool IsTargetDefaultMSABI =
+ getContext().getTargetInfo().getTriple().isOSWindows() ||
+ getContext().getTargetInfo().getTriple().isUEFI();
----------------
Prabhuk wrote:
I had introduced isOSWindowsOrUEFI upstream for cases like these. But just landed a change to drop `Triple::isOSWindowsOrUEFI()` upstream based on review feedback. It's not there anymore.
https://github.com/llvm/llvm-project/pull/138935
More information about the cfe-commits
mailing list