[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 27 14:13:16 PST 2025
================
@@ -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()) {
----------------
ojhunt wrote:
@AaronBallman we'd need MS to decide what their mangling would be - if it is to be different from this, or if MS ever want to support ptrauth?
https://github.com/llvm/llvm-project/pull/100830
More information about the cfe-commits
mailing list