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

    <tr>
        <th>Summary</th>
        <td>
            [LLDB] TestGetBaseName fails on Windows due to missing DemangledNameInfo support
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lldb,
            platform:windows
      </td>
    </tr>

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

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

<pre>
    The recently added SBFunction::GetBaseName() and SBSymbol::GetBaseName() APIs in #155939 work well on Linux/Max platforms using Itanium-style mangling but they do not work on Windows as windows uses MSVC-style demangling. The current implementation of GetBaseName() relies on DemangledNameInfo which does not support MSVC style mangling.

On Windows, after the fix, SBFunction::GetBaseName() and SBSymbol::GetBaseName() should return the correct unqualified names for MSVC-mangled symbols, and TestGetBaseName.py should pass without being marked as an expected failure.





</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysk19vozoQxT-NeRk1AhNIeOAhbZWrSu29V2p177PBQ3DrP6zHbpJvvzIh3e5W-7YSEshYv5lz5owgUgeL2LLqllX3mYhhdL515lW8CyWzzslz-zIieOzRBn0GISVKeL7dR9sH5Swrd6zc_YXhVhD-LQwyvmW8AWHTreez6Zz-3Z3dvw8EygLjZVFVTdnA0fk3OKLW4Cw8KhtPjO-fxAkmLcLgvCGIpOwBHoKwKpobCmeNYIQ96HTcxQBhxDNIB9aFC89Z-F9Z6Y4EguC4fEZCgqfn_-4WhsQrZQVJcR-9RxtAmUmjQRtEkgtugK9CPGqFlArdXygo098HOzg4jqofQTqkuSOK0-R8mCvDz92vWL5j-e6fj3YZvwMxBPRJEwzqlA7-jPU0uqgleAzR2xnfO--xDxDttyi0GhRKsMIgweD8xahFGtCMvrRnJbwghU8VVtP5ip8EJcPD6GKADtOEjPBvKNMghAU8TdgHlDAIpaPHxYGPJ5NtKZuyERm2xaaqm2212RbZ2JZlj9um74eaV1XRyaYQIi-7ut5uyrzc5plqec6rvMnXRVHWPF_lYlOtm6HmG1nyoUe2ztEIpVdav5uV84dMEUVsi6re1kWmRYea5rXgXGvZMc4Zv2OcX5PIyt3xOiaedse3CXXTxQOxda4VBfoBDyroecseH-_Tpv1q2uwAfY6qjAjBgVE0B_5rsJYkZdHrdgxhojRrvmd8f1BhjN2qd4bxfWphed1M3r1iHxjfz2KJ8f2i973l3wMAAP__iRZaZg">