[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 13:59:25 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 = ");
----------------
jimingham wrote:
Do we want to emit "mangled function" for C which doesn't have mangled names? It might be nicer to check whether the GetMangledName returns a mangled name, and only print it if it does? Having:
function = main
mangled function = main
looks a little silly.
https://github.com/llvm/llvm-project/pull/84071
More information about the lldb-commits
mailing list