<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59960>59960</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Backport DWARFTypePrinter infinite recursion crash fix
</td>
</tr>
<tr>
<th>Labels</th>
<td>
debuginfo,
release:backport
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MacDue
</td>
</tr>
</table>
<pre>
[D132900](https://reviews.llvm.org/D132900) fixes a crash when using `llvm-dwarfdump` or `DWARFTypePrinter` on certain binaries (this issue has been noticed for a few C++ builds). This does not seem to be a regression between LLVM 14 to 15, though older versions of LLVM (tested LLVM 12, did not have have this crash).
/cherry-pick 9a1544277e8a9336c98fe8e1f3d6fdde9d2f2bcf
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUs1u2zwQfBrqsohBLSVZOuhgR9ApAT58CNozf5YSG1k0SMpO3r6g4rZoL8vDzHB3dkfG6KaVqGf1mdVDIbc0-9C_Sj1sVChvPjMylAI7zlk9MGznlK6RiRPDkeEY6OboHg_LcrscfJgYjr_Y2IF1HxRBgg4yznCfaYUtunUC1vCseDJ3GazZLlfWcPABMjB8P_0_vn1e6b_g1kRhh1bQFJJ0Kyi3yuAoAsM2zS6Ci3EjmGUERbTC6pPTZMD6ABIs3eGZ4ZnhGdTmFhMZdgd4y0LjKWY6RKILJA-KQEKgKVCMzq-gKN3zly8v316hrDKlrBk-Q5r9Ns3gF0MBbhQyO4K3X8w8GMVE5iHELDHO7L1meaOvsg-_byaPxPjA-OlRcdQzhfD5dHX6HTpZ1lWFxyO1shOi0V1rqaXSCtNYY6gzaFFp-yUuTC9MJzpZUF82R1GjqI5VMffC1q0yuuFleSSD3BAJ0ZZ1xetOKlEVrkeOgpcllqU41tWhEY3koqm0bKVu25JVnC7SLb-vXey77-uua3ixSEVL3JOEaEhtk1utZ5jtM8RAC8lITJyU1O9XH1KG6qEI_R4FtU2RVXxxMf2JU5FcWqg_PxTwbzbArdatLhEE0tt-h0fYrPsotrD0f8d1cmne1EH7C8MxN3k8T9fgf5BODMfdUmQ47q5-BgAA___0oP7e">