[all-commits] [llvm/llvm-project] 1607a7: [clang] Add builtin_get_vtable_pointer and virtual...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Sun Apr 13 00:56:44 PDT 2025


  Branch: refs/heads/users/ojhunt/builtin-get-vtable-and-member
  Home:   https://github.com/llvm/llvm-project
  Commit: 1607a76c4fd2bd7f0c4e834d2935668d51daf55f
      https://github.com/llvm/llvm-project/commit/1607a76c4fd2bd7f0c4e834d2935668d51daf55f
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-04-13 (Sun, 13 Apr 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/CodeGenCXX/builtin_virtual_member_address.cpp
    A clang/test/SemaCXX/builtin-get-vtable-pointer.cpp
    A clang/test/SemaCXX/builtin_virtual_member_address.cpp

  Log Message:
  -----------
  [clang] Add builtin_get_vtable_pointer and virtual_member_address

These are a pair of builtins to support particularly weird edge
case operations while correctly handling the non-trivial implicit
pointer authentication schemas applied to polymorphic members.

Co-authored-by: Tim Northover



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