<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/151619>151619</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            llc crash generating type die
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          demoitem
      </td>
    </tr>
</table>

<pre>
    llc crashes generating debug code with the context die null.

[crashtrace.txt](https://github.com/user-attachments/files/21539939/crashtrace.txt)

[prog.ll.txt](https://github.com/user-attachments/files/21539974/prog.ll.txt)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyskcuK5SAQhp9GN9JBKzGJCxfdNHkPL3USBxMPWunL2w85NNPNLGY1INRC6quf_3OtpfVAtEy_MP3K3UlbqTbiXhLhzn2JnzbnIEJ1bcMmVjywOkrHKiL6cxWhRBTviTZBG4pQDsIPEjGhOM6cOyafr6dfHgCqLmBHH8T0K4N5I7o31j8zWBgsa6Lt9F0oO4PlbFifHJEL244HNQbLLWW8JijdG9MbBstfUDB_zt1rWbuc_8-taWCw_CSC4dH20fTGcbRq0oNUSuuRbzbiNNzMOIRxHm7zOHs_j0bNMvT9gOBGnixI0HKWSirQeuzAeDlNxsRJzdh7xQaJu0u5y_lt70pdeWrtRKu0GpXh2XnM7SEM4MB38fhlAJe_aq-lJ3-ujQ0yp0btG0OJMn7b_OmSPu94SeNnzfYfVV2sr_F0r-UXBmKwPBJcdX1FfLPwOwAA__-mbcBs">