[clang] [MS ABI]: Support preserve_none in MS ABI (PR #96487)
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 25 09:58:46 PDT 2024
================
@@ -2986,6 +2989,9 @@ void MicrosoftCXXNameMangler::mangleCallingConvention(CallingConv CC) {
case CC_Swift: Out << 'S'; break;
case CC_SwiftAsync: Out << 'W'; break;
case CC_PreserveMost: Out << 'U'; break;
+ case CC_PreserveNone:
+ Out << 'V';
----------------
rnk wrote:
This is not a good long term solution. I emailed the relevant external Microsoft mailing list for discussing these issues and CC'd some folks to inquire about a better long term solution, but we can continue with this approach for now.
https://github.com/llvm/llvm-project/pull/96487
More information about the cfe-commits
mailing list