<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/151248>151248</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Tail merging removes the lines from DWARF line program
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zhihaoy
</td>
</tr>
</table>
<pre>
Godbolt https://godbolt.org/z/9bxdxccn4
llvm-dwarfdump --debug-line [o3.txt](https://github.com/user-attachments/files/21498341/o3.txt)
#65667 may be related. But in this case, there exist instructions to prepare for different arguments before reaching the call, can line entries point to those instructions?
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8ks-K3DwQxJ9GvjRj7Pb_gw-z3-LvHgI5S1bbVpAlI7V3Z_fpg7wDITnkJFDDr6qrWsZoVkc0iuZFNK-ZPHnzYfzczCb9R6a8_hj_91p5y7AxH1FUd4GTwGn9-s19WAVOnwKnQT30Y55dLYq7KO7Wvu03_S7Dos_9gNtNkzrXmzWOQDQvvsr5waJ5Fdj_RTa8nSqf_S5wOiOFm2SW87aT4yhwWoyl9GJZD31VlwKnJwyHL2mBVdu0bQe7_ABFEMhKJp3Dy8lgHPBmIswyksD_gDcKBPQwMc0ih3Nm410E9nAEOmQgWHwAbZaFAjkGGdbzMgOKFh8SX86bcWtiwSytTdxZOriWJcfBUITDG8eJypuP9IeWqKZMj5UeqkFmNJZdU_U4tG2bbWNLlaS-Wsq66FDXZbuovun6Wg2qw7bqMzNigU3R4YDY1NjmZdsNbT00qDo9l_Ui6oJ2aWyeKkmFZSbGk8ayKbHuMysV2XhdAKKjd7imAjEdRBivHtW5RlEX1kSOvzFs2NL4XRoLO4U1JRBo928UryTS9hGW4Hd4_XH_Nn3FcQS_BrlnZ7DjP4pPIs_ndgT_k2YWOF3WUvlP728j_goAAP__Xa_nbw">