[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 10:59:16 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:

Now that you mention it, I think we kind of _have_ to use `DumpStopContext`.  As it stands, the verbose output is missing information that the non-verbose output has, which feels wrong.

But let's merge this one first, since doing the above requires changing existing pieces, and this PR is about adding a new piece.

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


More information about the lldb-commits mailing list