<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69169>69169</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-debuginfo-analyzer] Use StringMap where possible.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
debuginfo,
tools:llvm-debuginfo-analyzer
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
CarlosAlbertoEnciso
</td>
</tr>
</table>
<pre>
Extracted from [llvm/tools/llvm-debuginfo-analyzer/README.txt](https://github.com/llvm/llvm-project/blob/main/llvm/tools/llvm-debuginfo-analyzer/README.txt)
https://reviews.llvm.org/D125783#inline-1294211
LLVM has a `StringMap` class that is advertised as more efficient than
`std::map<std::string, ValueType>`. Mainly it does fewer allocations
because the key is not a `std::string`.
Replace the use of `std::map<std::string, ValueType>` with `String Map`.
One specific case is the `LVSymbolNames` definitions.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyck81u4zgQhJ-mdWlEoKg_-6CDY1uneBdIdnOnxJbFXUoU2FQcz9MPZHucmQFyyFwEEGJ_VU1UKWZzHIkqyB8h30VqDr3z1VZ563hjG_LB7cfWsIsap8_V_j141QbS2Hk3IOSP1r4NIOvgnGWQ9XJ80NTMRzN27kGNyp6_kQdZP-83u8M-Du8B8h3IVR_CxJBuQNYg66MJ_dzErRtukB-sybv_qA0g68a6BmQ9KDN-3PmSrlyD2IHY_Crt6c3QieMFETt_BFnvEpmXqxRkakZrRnpI5DqTSXIdv36fnl4P2CtGhVCIl-DNeDyoCQqBrVXMGHoV0DAq_UY-GCaNinFwnpC6zrSGxrBcGm_UQnDQi6t0M6gJ0u39yBc4yC2-KjvTP-eJIN1DIWI8KDPaM5qA2hFjRyfyqKx1rQrGjXxlN9SqmQlDT_g_nRdXowtX57-rFCL-ec1nmqxqr6MLwnX4J07xZEL_8VB4famb0t8jIU_Ums602CqmxeAiCIV4en05D42zf6mBeAFp6sxoLsvdxiNdpXqdrlVEVVKsyywrxCqP-ioROqEsTzvV6UynuaCyacuybFZ5VzSFjEwlhUwTkRRila1EHlOZ5rLUeVZqodt8BZmgQRl7D0dkmGeqinVSrCOrGrJ86Y6U9_CBlCC3IOU1m-nm02zKpXK-uvxv5iNDJqzh8BHFKJhgL-X8jJHv8F8mvMcPTz15wskxm8ZSHM3eVl-u2mXJpVaXPb8HAAD__3sdVU8">