[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:56:53 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:

Does SymbolContext::GetFunctionName do the right thing here?  It will also find the innermost inlined function if the SC is in some inlining and return that as well.

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


More information about the lldb-commits mailing list