<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/72451>72451</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang codegen][regression] VTT definitions missing dso_local/hidden/etc markings
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bd1976bris
</td>
</tr>
</table>
<pre>
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.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkkstupDwQhZ_GbEppgQ19WbBIB7H5N1lE_3bkSwE1Y-yWy3RP5ulHkJ5MkpGQwei4XOfUp5lpDIitaM6i6Qq95Cmm1rjqdNibRFyY6F7bKecLC_UoZC9kn_BKeOOd99d5F9MoZN9V8lgfJUyaIeGYkBkdWExZUwCrGRniAP-_vADOxEwxwG0iO4FOCCGCj2HEBLNOP9DtRNmJ8vFt7WMC_Knni0chn4AC5AlhiN7HG4VxK7629uGI2Jf3Z9tar5nhCcThLA6dUOePvzsQ6hGulPKi_b-iDtz795ey97UuV1dDTNAB8QcvEzmHq00MYON8IY8ObpQneBiuxGTIU34VqnsTfjL9vGYcF_avq-c8EcMtLt7BpK8IBjGsOeaMDjTfb1qVjGsW8HleY3Qm-nwf1S8he67T8zBw-m9XuFa5kzrpAtvqUJblqTxV-2JqS2t0fWwG4_amPlQDWotommpfD_LUKCyolaVUVVU1Usmj2u_Msd5LeXRKVqpSehB1ibMm_85JQcwLtgdZN1XhtUHPG3dSWq_DKKRcEUztqn8wy8iiLj1x_ktakSn7DdbtBNjocMQgmk405zt3FNf9hprDgQJlioFhoy6M4Dh-89FqL2T_J7ces93QozBysST_BfiR8rSYnY2zkP3ay_31cEnxO9osZL9ZYyH7zd3vAAAA___1YQx7">