[Lldb-commits] [lldb] [lldb] optionally match the `__debug` namespace for libstdc++ containers. (PR #140727)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue May 27 01:42:36 PDT 2025
================
@@ -47,8 +61,9 @@ def cleanup():
self.runCmd("frame variable ii --show-types")
+ match = f"std::{namespace}map<"
self.runCmd(
- 'type summary add -x "std::map<" --summary-string "map has ${svar%#} items" -e'
+ f'type summary add -x "{match}" --summary-string "map has ${{svar%#}} items" -e'
----------------
Michael137 wrote:
```suggestion
f'type summary add -x "std::{namespace}map<" --summary-string "map has ${{svar%#}} items" -e'
```
https://github.com/llvm/llvm-project/pull/140727
More information about the lldb-commits
mailing list