[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 14 05:49:54 PDT 2025


================
@@ -1,8 +1,3 @@
-// Evil hack: To simulate memory corruption, we want to fiddle with some internals of std::list.
----------------
labath wrote:

It looks like this test doesn't actually circularize the list anymore, so you might as well delete it completely. Alternatively, we could try reviving it. Instead of the `#define` hack, maybe it would be more reliable to corrupt the list from inside the test itself (modify the list using the SBValue API).

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


More information about the lldb-commits mailing list