[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:12 PDT 2025


================
@@ -19,9 +23,22 @@ def setUp(self):
     @add_test_categories(["libstdcxx"])
     @expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
     def test_with_run_command(self):
+        build_args = {"EXE": "a.out"}
+        self.with_run_command("", build_args)
+
+    @add_test_categories(["libstdcxx"])
+    @expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
+    def test_with_run_command_debug(self):
+        build_args = {"CXXFLAGS": "-D_GLIBCXX_DEBUG", "EXE": "debug_a.out"}
----------------
Michael137 wrote:

Why does the `EXE` need to be different here? I think setting `CXXFLAGS` should be sufficient?

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


More information about the lldb-commits mailing list