[Lldb-commits] [lldb] [LLDB] Fix MS STL `variant` with non-trivial types (PR #171489)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 15 01:50:57 PST 2026


Michael137 wrote:

> Hmm does the Swift builder use a different version of libc++ or something else than the Ubuntu builders here? I'm wondering because the tests pass here. The difference is that on the Swift builder, the active type shows as `std::basic_string<char>` whereas it should show as `std::string`.

You mean the other way around? In the test case you're checking for basic_string.

I suspect the difference comes from tuning for lldb on Darwin (do we tune the test suite for lldb on other platforms? probably not?). When tuning for LLDB we generate slightly different debug-info so LLDB knows to show std::string in typenames instead of the basic_string

https://github.com/llvm/llvm-project/pull/171489


More information about the lldb-commits mailing list