[all-commits] [llvm/llvm-project] 3c20ae: [clang] Add builtin_get_vtable_pointer and virtual...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Sun Apr 13 00:45:11 PDT 2025


  Branch: refs/heads/users/ojhunt/builtin-get-vtable-and-member
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c20ae33d51c4e8e7a80e7f1477de02c02dec513
      https://github.com/llvm/llvm-project/commit/3c20ae33d51c4e8e7a80e7f1477de02c02dec513
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  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.



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