[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:22:11 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:

Ah based on the commit message it seems like you're solving this ambiguity problem by putting loading the libstdc++ formatters "last", which is the one that LLDB apparently considers first? Kinda makes sense I guess. But we should definitely leave a comment here if this is what we're going with

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


More information about the lldb-commits mailing list