[clang] [PAC] Implement authentication for C++ member function pointers (PR #99576)

Daniil Kovalev via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 21 16:40:33 PDT 2024


================
@@ -71,6 +71,15 @@ void has_ptrauth_vtable_pointer_type_discrimination() {}
 void no_ptrauth_vtable_pointer_type_discrimination() {}
 #endif
 
+// This is always enabled when ptrauth_calls is enabled, on new enough clangs.
----------------
kovdan01 wrote:

We already have this tested above (see lines 41..48), so this can be deleted.

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


More information about the cfe-commits mailing list