[clang] [clang][PAC] Add __builtin_get_vtable_pointer (PR #139790)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 3 22:01:28 PDT 2025


================
@@ -3074,6 +3074,39 @@ following way:
 
 Query for this feature with ``__has_builtin(__builtin_offsetof)``.
 
+``__builtin_get_vtable_pointer``
+--------------------------------
+
+``__builtin_get_vtable_pointer`` loads and authenticates the primary vtable
+pointer from an instance of a polymorphic C++ class.
----------------
ojhunt wrote:

Basic docs have been and I've added a reference

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


More information about the cfe-commits mailing list