diff --git a/lldb/tools/lldb-vscode/JSONUtils.cpp b/lldb/tools/lldb-vscode/JSONUtils.cpp --- a/lldb/tools/lldb-vscode/JSONUtils.cpp +++ b/lldb/tools/lldb-vscode/JSONUtils.cpp @@ -650,7 +650,7 @@ } const auto num_insts = insts.GetSize(); if (low_pc != LLDB_INVALID_ADDRESS && num_insts > 0) { - EmplaceSafeString(object, "name", frame.GetFunctionName()); + EmplaceSafeString(object, "name", frame.GetDisplayFunctionName()); SourceReference source; llvm::raw_string_ostream src_strm(source.content); std::string line; @@ -759,7 +759,7 @@ object.try_emplace("id", frame_id); std::string frame_name; - const char *func_name = frame.GetFunctionName(); + const char *func_name = frame.GetDisplayFunctionName(); if (func_name) frame_name = func_name; else