llvm-project
llvm-project copied to clipboard
[clang codegen][regression] VTT definitions missing dso_local/hidden/etc markings
https://reviews.llvm.org/D128482 has regressed certain cases of VTT emission which are no longer marked.
For example, in the following case:
class C {};
class D : virtual C {};
D d;
VTT for D is no longer hidden when compiled with -fvisibility=hidden.
Previously, this would have been emitted as hidden, see: https://godbolt.org/z/s4rPffsrK.
@llvm/issue-subscribers-clang-codegen
Author: bd1976bris (bd1976bris)
https://reviews.llvm.org/D128482 has regressed certain cases of VTT emission which are no longer marked.
For example, in the following case:
class C {};
class D : virtual C {};
D d;
@VTT for D is no longer hidden when compiled with -fvisibility=hidden.
Previously, this would have been emitted as hidden, see: https://godbolt.org/z/s4rPffsrK.
Potential fix: https://github.com/llvm/llvm-project/pull/72452