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

via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 5 14:57:55 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>"));
----------------
jimingham wrote:

If it does, you could just call it twice, once with the prefer mangled false, and once true.

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


More information about the lldb-commits mailing list