================
@@ -2850,6 +2850,26 @@ void CXXNameMangler::mangleQualifiers(Qualifiers Quals, 
const DependentAddressSp
   if (Quals.hasUnaligned())
     mangleVendorQualifier("__unaligned");
 
+  // __ptrauth.  Note that this is parameterized.
+  if (PointerAuthQualifier PtrAuth = Quals.getPointerAuth()) {
----------------
ahatanak wrote:

Demangling already works for Itanium, though the qualifier might appear a 
little odd (it resembles a template instantiation).

For example:

```
$ ./bin/llvm-cxxfilt __Z3fooPU9__ptrauthILj1ELb0ELj23EEPi
foo(int* __ptrauth<1u, false, 23u>*)
```

https://github.com/llvm/llvm-project/pull/100830
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to