[all-commits] [llvm/llvm-project] 6e1d13: [clang] Add builtin_get_vtable_pointer and virtual...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Fri Apr 11 20:22:53 PDT 2025


  Branch: refs/heads/users/ojhunt/builtin-get-vtable-and-member
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e1d13805dabdbd1be58d4e3d095d322d798c3c8
      https://github.com/llvm/llvm-project/commit/6e1d13805dabdbd1be58d4e3d095d322d798c3c8
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M clang/docs/LanguageExtensions.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