[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 20 06:20:15 PDT 2025


================
@@ -1731,8 +1737,8 @@ lldb::TypeCategoryImplSP CPlusPlusLanguage::GetFormatters() {
     DataVisualization::Categories::GetCategory(ConstString(GetPluginName()),
                                                g_category);
     if (g_category) {
-      LoadLibStdcppFormatters(g_category);
       LoadLibCxxFormatters(g_category);
+      LoadLibStdcppFormatters(g_category);
----------------
Michael137 wrote:

You added the regex only to the libstdc++ formatters right? Wouldn't the libc++ inline namespace regex match `__debug`? What subtlety am i missing here?

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


More information about the lldb-commits mailing list