================
@@ -81,13 +81,13 @@ const CGFunctionInfo &
arrangeCXXMethodCall(CodeGenModule &CGM, CanQualType returnType,
ArrayRef<CanQualType> argTypes, FunctionType::ExtInfo
info,
ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos,
- RequiredArgs args);
+ RequiredArgs args, const FunctionDecl *CallerFD =
nullptr);
const CGFunctionInfo &arrangeFreeFunctionCall(
CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes,
FunctionType::ExtInfo info,
- ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos,
- RequiredArgs args);
+ ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos, RequiredArgs
args,
+ const FunctionDecl *CallerFD = nullptr);
----------------
efriedma-quic wrote:
Default arguments seem dangerous: if we don't pass the FD, we use the wrong ABI.
https://github.com/llvm/llvm-project/pull/193298
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits