[clang] [clang][PAC] add support for options parameter to __ptrauth (PR #136828)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 11 13:20:43 PDT 2025
================
@@ -65,6 +65,17 @@ enum class PointerAuthenticationMode : unsigned {
SignAndAuth
};
+static constexpr llvm::StringLiteral PointerAuthenticationOptionStrip = "strip";
----------------
ojhunt wrote:
ah so what @erichkeane was suggesting is that places needing the string would do
```cpp
std::string myString = get_the_string_for(thEnum)
```
Though that still leaves me with "where should these functions and enums live?"
It really does not seem like LangOpts is right
https://github.com/llvm/llvm-project/pull/136828
More information about the cfe-commits
mailing list