[Lldb-commits] [lldb] [LLDB] Avoid crashes when inspecting MSVC STL types (PR #140761)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu May 22 05:20:40 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>
----------------
Michael137 wrote:
Yup looks like it is. At least when browsing back to:
```
commit 78453eed1219b83dff87d34a4bbbe48cc65eda70 (HEAD)
Author: Enrico Granata <egranata at apple.com>
Date: Thu May 3 01:08:44 2012 +0000
Adding a new 'type category disable *' feature that disables all categories - This is intended as a quick kill switch for data formatters for cases where the user wants as little extra processing as possible to be done on their target, or to override major data formatters bug, should they occur
llvm-svn: 156044
```
And searching the repo for `gnu-libstdc++`, you'll see that the libcxx and lisbtdcpp formatters were written in python and were added to separate categories. Not 100% why they got combined back into the same category. Presumably the idea was that you never want to have both categories enabled anyway, so if a `cplusplus` category can just turn on/off the STL formatters for you that'd be more intuitive.
https://github.com/llvm/llvm-project/pull/140761
More information about the lldb-commits
mailing list