<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/95785>95785</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DebugInfo][clang] No DW_TAG_call_site-s when using -O0
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
spevnev
</td>
</tr>
</table>
<pre>
When compiling using `clang -O0 -g3` DWARF does not contain any `DW_TAG_call_site` DIEs, whereas compiling with any other optimization level (-O1, -O2, -O3, -Os) produces correct DIEs.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckc2OnDAQhJ_GXCxGpj3m5-DDbgjRXjJSFGmOI2MacGRsZBtWm6ePYFZKlEvXpauq9bWK0UwOURLxSkSbqS3NPsi44u5wz3o_fMj7jI5qv6zGGjfRLR6TlExb5Saa3xjNJ05KRtv7y4-ODh4jdT5R7V1SxlHlPo719v74-fLtoZW1j2gSno63r5HAF_o-Y0AV_2l5N2k-nT7NGKhfk1nMb5WMd9TijpYSqPNbcbjzGzyFPyUSaOga_LBpPDJDQJ3Orks2SD40vFEZyqIq6pIXvOLZLAWUumaNvg511TCF2PdiHEs-ND1oGDEzEhhcWVlUBedlwS-jHqFWpcCh14VWBbkyXJSxF2v35eLDlJkYN5SNqGqRWdWjjSdmgJMcATiIB3ns5_02RXJl1sQU_yYkk-z5mxb7bXpzoyeiJeL1GSBa-t3T_7nm8cDpPv-U31i2BSvnlNZI-AuBjkA3mTRv_UX7hUB3tH1Kvgb_C3Ui0J3HRwLd8_5dwp8AAAD__2jesXE">