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.