[all-commits] [llvm/llvm-project] 496d00: [clang][RelativeVTables] Make the rtti_proxy LinkO...

PiJoules via All-commits all-commits at lists.llvm.org
Tue Oct 3 17:05:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 496d00b2677593066f5119e93cf0e9316a04277a
      https://github.com/llvm/llvm-project/commit/496d00b2677593066f5119e93cf0e9316a04277a
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/child-vtable-in-comdat.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/parent-vtable-in-comdat.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/relative-vtables-hwasan.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/simple-vtable-definition.cpp
    M clang/test/CodeGenCXX/RelativeVTablesABI/type-info.cpp

  Log Message:
  -----------
  [clang][RelativeVTables] Make the rtti_proxy LinkOnceODR instead of External linkage (#67755)

This way, it the rtti_proxies can be candidates for being replaced
altogether with GOTPCREL relocations because they are discardable.
Functionally, this shouldn't change the final ELF linkage of the
proxies.




More information about the All-commits mailing list