[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 08:03:23 PST 2025


================
@@ -104,6 +104,7 @@ FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread))
 FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow))
 FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo))
 FEATURE(ptrauth_intrinsics, LangOpts.PointerAuthIntrinsics)
+FEATURE(ptrauth_qualifier, LangOpts.PointerAuthIntrinsics)
----------------
AaronBallman wrote:

Um, these should not be using `FEATURE`, but should be using `EXTENSION`: FEATURE(...) should be used to advertise support for standard language features, whereas EXTENSION(...) should be used for clang extensions.

https://github.com/llvm/llvm-project/pull/100830


More information about the cfe-commits mailing list