<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63127>63127</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[ASan] -fdata-sections should imply -fsanitize-address-globals-dead-stripping
</td>
</tr>
<tr>
<th>Labels</th>
<td>
compiler-rt:asan
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rnk
</td>
</tr>
</table>
<pre>
The `-fsanitize-address-globals-dead-stripping` flag is long, descriptive, and hard to discover. Can it please be implied by the standard `-fdata-sections` flag, which signals the intent to do linker GC?
cc @vitalybuka @aeubanks
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkUvO2zAMhE8jbwgHsvzI74UXaQL3AO0FKIux2SiSIcop0tMXdlsU6KobCVwMhzMfivAciAbVflLtrcAtLzENKTwKG917-LoQqE6Xd8HAmX9Qic4lEilnHy16KR2hKyUnXlcOs-o03D3OwAI-hlmZKziSKfGa-UX7iMHBgslBjuBYpviidIIrBuAMqycUAkvAz9UzObBvyAuBZAxuVx3XOMxYCk2ZY5A_nvvy7wtPC-yZ0Msh5JAp5MMsgufwoASfr6oelb4pffn1ThOoRr84o3_b7YH7hLRZDA-Bwg216-seCxqq7qPt-4-m6YplmJq2PfetdnVFxlZVY9HdTW_6rjZnrauCB6NNrTvdGt02ujvRx9meje6wqai7T1Y1mp7I_uT963mKaS5YZKOhqytzLjxa8nKgMWaKz5U9pTJlVV9QMChjdmRp2MWl3WZRjfYsWf6uy5z9AffyBYNqb_BPdyBL3Lw72n7Df2MutuSHJedVVH1RZlRmnDkvmz1N8anMuPv__so1xW80ZWXGI5soMx7xfgYAAP__mDDQrg">