[all-commits] [llvm/llvm-project] 93314b: [clang][PAC] Add __builtin_get_vtable_pointer (#13...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Wed Jun 4 00:21:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93314bd9462d5c41a23fb402be7ae0c7d099e274
      https://github.com/llvm/llvm-project/commit/93314bd9462d5c41a23fb402be7ae0c7d099e274
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGenCXX/builtin-get-vtable-pointer.cpp
    A clang/test/SemaCXX/builtin-get-vtable-pointer.cpp

  Log Message:
  -----------
  [clang][PAC] Add __builtin_get_vtable_pointer (#139790)

With pointer authentication it becomes non-trivial to correctly load the
vtable pointer of a polymorphic object.

__builtin_get_vtable_pointer is a function that performs the load and
performs the appropriate authentication operations if necessary.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list