Open kito-cheng opened 8 months ago
I filed itanium-cxx-abi/cxx-abi#178 to maybe get an expert opinion. Hope that isn't overstepping.
I filed https://github.com/itanium-cxx-abi/cxx-abi/issues/178 to maybe get an expert opinion. Hope that isn't overstepping.
Thanks for doing this, I think you are better person to create that since you have more context than me on this, will support you on that PR if needed :)
swiftcall in clang appears to already have the behavior we need.
Change to draft since this PR is not intend to merge so far, but we may keep this PR for keep tracking and/or discuss this issue.
Oh, I should reply after read the PR, I didn't notice there is some discussion within the PR, anyway let me find some time to update and update this PR later.
(@sorear you can create another PR if you are interested since I may deal with other stuffs around the psABI repo first)
Not really spec related, but kinda bookmark for myself:
clang implementation for Swift name mangling: CXXNameMangler::mangleExtParameterInfo@ItaniumMangle.cpp
Add extra name mangling rule for standard vector calling convention on C++ ABI, fortunately the Itanium C++ ABI already defined mangling rule for ABI tag, so we just need to define the ABI tag name.
Example for the mangling rule: