================
@@ -144,12 +148,25 @@ ArgInfo AArch64TargetInfo::classifyArgumentType(
RecordArgABI::RAA_DirectInMemory);
}
+ // Empty records:
+ // AAPCS64 does not say that empty records are ignored as arguments,
----------------
smithp35 wrote:
That's possibly something we can improve in the ABI, feel free to raise issues
in
https://github.com/ARM-software/abi-aa/issues
My understanding is that this a GCC extension
https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Empty-Structures.html which maybe
why it isn't in the base ABI.
The ABI is clear on C++
https://github.com/ARM-software/abi-aa/blob/main/cppabi64/cppabi64.rst#41summary-of-differences-from-and-additions-to-the-generic-c-abi
https://github.com/llvm/llvm-project/pull/224476
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits