[clang] [Arm64EC][clang] Implement varargs support in clang. (PR #152411)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 8 09:59:13 PDT 2025


================
@@ -132,6 +132,10 @@ class ABIInfo {
   virtual llvm::FixedVectorType *
   getOptimalVectorMemoryType(llvm::FixedVectorType *T,
                              const LangOptions &Opt) const;
+
+  /// Used by Arm64EC calling convention code to call into x86 calling
+  /// convention code for varargs function.
+  virtual ABIArgInfo classifyArgForArm64ECVarArg(QualType Ty) const;
----------------
efriedma-quic wrote:

The concrete type in question is defined in x86.cpp, and it's called from AArch64.cpp.  I don't see how we can get the concrete type, unless we do a much bigger refactor.

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


More information about the cfe-commits mailing list