[Lldb-commits] [lldb] [lldb] Print mangled names with verbose break list (PR #84071)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 6 09:55:51 PST 2024


================
@@ -524,6 +524,9 @@ void BreakpointLocation::GetDescription(Stream *s,
           s->EOL();
           s->Indent("function = ");
           s->PutCString(sc.function->GetName().AsCString("<unknown>"));
+          s->EOL();
+          s->Indent("mangled function = ");
+          s->PutCString(sc.function->GetMangled().GetMangledName().AsCString("<unknown>"));
----------------
felipepiovezan wrote:

We might be able to reuse `bool SymbolContext::DumpStopContext`, this is what is the regular `break list` uses

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


More information about the lldb-commits mailing list