[Lldb-commits] [lldb] [LLDB] Add type summaries for MSVC STL strings (PR #143177)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 1 03:57:53 PDT 2025
================
@@ -0,0 +1,120 @@
+# coding=utf8
+"""
+Test std::*string summaries with MSVC's STL.
+"""
----------------
labath wrote:
I think it's mainly historical. We have `data-formatter/data-formatter-stl/generic/`, but it's a fairly recent addition. I think it would be nice to move everything towards that, in particular because it encourages a consistent presentation of different implementations -- not just for humans, but this also makes it easier to write data formatters for other data structures (which contain std:: types internally) -- it's nice when the data formatter works regardless of the STL version your code is compiled with.
In theory there could be tests that only make sense on a particular (e.g. a test for what happens when a particular internal pointer is corrupted), but those could be handled with ifdefs, or with separate tests.
https://github.com/llvm/llvm-project/pull/143177
More information about the lldb-commits
mailing list