[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
Wed May 21 01:54:27 PDT 2025


================
@@ -48,10 +65,13 @@ 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'
         )
 
+        # self.assertFalse(True, match)
----------------
Michael137 wrote:

?

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


More information about the lldb-commits mailing list