[PATCH] D127876: [clang] Don't emit type test/assume for virtual classes that should never participate in WPD

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 10:18:23 PDT 2022


aeubanks added a comment.

In D127876#3586134 <https://reviews.llvm.org/D127876#3586134>, @pcc wrote:

> This diverges from the documented behavior of `-lto-whole-program-visibility`. The flag is meant to give all classes hidden LTO visibility, but now it only does that to some of them.

perhaps I'm misunderstanding, but even with `-lto-whole-program-visibility` classes explicitly marked with public LTO visibility still shouldn't participate in WPD?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127876/new/

https://reviews.llvm.org/D127876



More information about the cfe-commits mailing list