[all-commits] [llvm/llvm-project] f34ecb: [clang] Don't emit type tests for dllexport/import...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Apr 25 14:06:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f34ecb50e2c03e27b5785576545aab07b3b19a94
      https://github.com/llvm/llvm-project/commit/f34ecb50e2c03e27b5785576545aab07b3b19a94
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/test/CodeGenCXX/lto-visibility-inference.cpp

  Log Message:
  -----------
  [clang] Don't emit type tests for dllexport/import classes

According to https://clang.llvm.org/docs/LTOVisibility.html, classes on
Windows with dllimport/export receive public LTO visibility and
therefore should not participate in WPD.

Reviewed By: pcc

Differential Revision: https://reviews.llvm.org/D129700




More information about the All-commits mailing list