[Lldb-commits] [lldb] [lldb][test] Combine libstdc++ and libc++ std::variant tests into generic test (PR #147253)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 8 04:09:05 PDT 2025
Michael137 wrote:
Yea I can repro this if I use the same debugger instance to debug a target compiled against libc++, then print the typedef, and then debug a libstdc++ target.
I think the issue is that the formatter infra caches `typedef name -> formatter`. So we would try using the libc++ formatter for a libstdc++ variant because the `V1_typedef` is the thing that was cached.
Same reason as https://github.com/llvm/llvm-project/pull/110767
https://github.com/llvm/llvm-project/pull/147253
More information about the lldb-commits
mailing list