================
@@ -2910,6 +2910,12 @@ void MicrosoftCXXNameMangler::mangleFunctionType(const 
FunctionType *T,
 
   mangleCallingConvention(CC, Range);
 
+  if (Proto) {
+    unsigned SMEAttrs = Proto->getAArch64SMEAttributes();
+    if (SMEAttrs)
+      Out << "$$SME" << SMEAttrs;
----------------
efriedma-quic wrote:

The basic approach here seems fine, but I have two issues with this choice of 
mangling:

- It isn't obvious that this is a clang-specific mangling we're making up.
- I'm not sure if the use of `$$` could potentially collide with something 
else; can you explain how you came up with that prefix?

https://github.com/llvm/llvm-project/pull/199567
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to