[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


================
@@ -1731,8 +1737,12 @@ lldb::TypeCategoryImplSP CPlusPlusLanguage::GetFormatters() {
     DataVisualization::Categories::GetCategory(ConstString(GetPluginName()),
                                                g_category);
     if (g_category) {
-      LoadLibStdcppFormatters(g_category);
+      // NOTE: the libstdcpp formatters are loaded after libcxx formatters
+      // because we don't want to the libcxx formatters to match the potential
+      // `__debug` inline namespace that libstdcpp may use. since LLDB
----------------
Michael137 wrote:

```suggestion
      // `__debug` inline namespace that libstdcpp may use. LLDB
```

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


More information about the lldb-commits mailing list