Skip to content

[LLDB] TestGetBaseName.py fails on Windows due to missing DemangledNameInfo support #156861

@omjavaid

Description

@omjavaid

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions