[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


================
@@ -65,6 +65,17 @@ enum class PointerAuthenticationMode : unsigned {
   SignAndAuth
 };
 
+static constexpr llvm::StringLiteral PointerAuthenticationOptionStrip = "strip";
----------------
AaronBallman wrote:

At the language option level, I think it's more idiomatic to use an enumeration instead of string literals and doing string processing.

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


More information about the cfe-commits mailing list