[clang] [clang][PAC] add support for options parameter to __ptrauth (PR #136828)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon May 12 05:48:33 PDT 2025
================
@@ -3595,9 +3595,9 @@ def ObjCRequiresPropertyDefs : InheritableAttr {
def PointerAuth : TypeAttr {
let Spellings = [CustomKeyword<"__ptrauth">];
- let Args = [IntArgument<"Key">,
- BoolArgument<"AddressDiscriminated", 1>,
- IntArgument<"ExtraDiscriminator", 1>];
+ let Args = [IntArgument<"Key">, BoolArgument<"AddressDiscriminated", 1>,
+ IntArgument<"ExtraDiscriminator", 1>,
+ StringArgument<"Options", 1>];
----------------
AaronBallman wrote:
Should there be an update to AttrDocs.td for the new argument?
https://github.com/llvm/llvm-project/pull/136828
More information about the cfe-commits
mailing list