[Lldb-commits] [lldb] [LLDB] Avoid crashes when inspecting MSVC STL types (PR #140761)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed May 28 03:41:11 PDT 2025


================
@@ -0,0 +1,57 @@
+// clang-format off
+
+// REQUIRES: target-windows
+// RUN: %build --compiler=clang-cl -o %t.exe --std c++20 -- %s
+// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -o "b main" -o "run" -o "fr v" -o c | FileCheck %s
+
+#include <bitset>
----------------
DavidSpickett wrote:

If this smoke test ensures they don't crash horribly, which I think it does, we should accept it. If we have issue(s) talking about MSVC formatter support link to them, or if we don't have an overall one, open one and link to that.

If this test fails way too often and it's holding up formatter development elsewhere, then we can revisit it of course.

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


More information about the lldb-commits mailing list