<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/152051>152051</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[LLDB] [Native PDB] Wrong name is used for Rust types
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Walnut356
</td>
</tr>
</table>
<pre>
Mentioned [here](https://github.com/llvm/llvm-project/issues/114906#issuecomment-3151067271), the Native parser appears to be using a unique ID field instead of the name field for Rust types. Example:
Native:
<img width="562" height="51" alt="Image" src="https://github.com/user-attachments/assets/c80e7b89-f48c-4cec-af3b-cd42d4c9508c" />
Dia:
<img width="417" height="89" alt="Image" src="https://github.com/user-attachments/assets/19fe08e3-f06c-4f57-9e25-fccde0cc9d67" />
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0k01r3TwQhX-NvBG-SCPJHwsv3uTmQiBvKd1kPZbHtoq_KslJ8--LfG8byCKbUjBYOoKZM8NzMAQ3LEQNM3fMnDPc47j65hmnZY_KFFm7dm_N_7REty7UcWbuRvLEzJlBNca4Bab-Y3BhcBlcHPf2ZNeZwWWaXn7_8s2v38lGBhcXwk6BwUVKXYuCgToUu84zLTFX0khRlFBKBjWDex5H4l8wuhfiG_pAnuO2EfrA48pb4ntwy8CR74v7sRN_PPPe0dRxt4RI2PG1P0osONPtpV89_7aHyOPbRuHEH37ivE2UhhDpu3b7c2Xq3s0Df3VdHJk6MwBTAAPgI7lhjDdJJgWn2_VxxoGSEry9Kp_saQ_kc4wR7ZhWkHaDIdBxsJWgsq3qvNeVzbUlm2Ov2tx2GjptayMqm_qksurhavjs8BPzWpYfzVf1vzEv655ERSrvRWFz3ZsyrwlM3lvbkbC27ory3XzWNaqrVY0ZNbI0WulKyjIbG-qtgboC01k0ldZFK9vK9BZBtZpEmbkGBBhRCQ1gjCxPti1KUVBplRSt6pFpQTO66ZRYPK1-yA7mGmlAGJlN2NIUDvwBFnrlxysDSGnwzQFwuw-BaTG5EMN7mejidOTm6emcspOycYP161V49usyXOlzge-BPvKX7X5q_iJF1xFeGvgVAAD__0UYKA0">