[all-commits] [llvm/llvm-project] 6bb630: [PAC] Fix address discrimination for type info vta...

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Thu Oct 17 22:58:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bb63002fca8a7cfa9ff8ffd86da4c2ca3d98a3b
      https://github.com/llvm/llvm-project/commit/6bb63002fca8a7cfa9ff8ffd86da4c2ca3d98a3b
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/child-inheritted-from-parent-in-comdat.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/inlined-key-function.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/parent-and-child-in-comdats.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/parent-vtable-in-comdat.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/simple-vtable-definition.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/type-info.cpp
    M clang/test/CodeGenCXX/armv7k.cpp
    M clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
    M clang/test/CodeGenCXX/exceptions-no-rtti.cpp
    M clang/test/CodeGenCXX/implicit-record-visibility.cpp
    M clang/test/CodeGenCXX/mdefault-visibility-export-mapping-rtti.cpp
    M clang/test/CodeGenCXX/modules-vtable.cppm
    M clang/test/CodeGenCXX/ptrauth-rtti-layout.cpp
    M clang/test/CodeGenCXX/ptrauth-type-info-vtable.cpp
    M clang/test/CodeGenCXX/ptrauth-vtable-virtual-inheritance-thunk.cpp
    M clang/test/CodeGenCXX/rtti-linkage.cpp
    M clang/test/CodeGenCXX/rtti-visibility.cpp
    M clang/test/CodeGenCXX/symbol-partition.cpp
    M clang/test/CodeGenCXX/type_visibility.cpp
    M clang/test/CodeGenCXX/typeinfo-with-address-space.cpp
    M clang/test/CodeGenCXX/visibility-ms-compat.cpp
    M clang/test/CodeGenCXX/vtable-align-address-space.cpp
    M clang/test/CodeGenCXX/vtable-align.cpp
    M clang/test/CodeGenCXX/vtable-available-externally.cpp
    M clang/test/CodeGenCXX/vtable-key-function-arm.cpp
    M clang/test/CodeGenCXX/vtable-key-function-ios.cpp
    M clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp
    M clang/test/CodeGenCXX/weak-extern-typeinfo.cpp
    M clang/test/CodeGenCXX/windows-itanium-type-info.cpp
    M clang/test/CodeGenObjCXX/rtti.mm
    M clang/test/Modules/pr97313.cppm
    M clang/test/SemaCXX/typeid-ref.cpp
    A llvm/test/CodeGen/AArch64/ptrauth-type-info-vptr-discr.ll

  Log Message:
  -----------
  [PAC] Fix address discrimination for type info vtable pointers (#102199)

In #99726, `-fptrauth-type-info-vtable-pointer-discrimination` was
introduced, which is intended to enable type and address discrimination
for type_info vtable pointers. However, some codegen logic for actually
enabling address discrimination was missing. This patch addresses the
issue.

Fixes #101716



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