[clang] [clang][PAC] Add __builtin_get_vtable_pointer (PR #139790)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 3 10:20:30 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:
I'm not sure if it's been upstreamed yet - I think some might have been? Will check.
https://github.com/llvm/llvm-project/pull/139790
More information about the cfe-commits
mailing list