Commit ee1a9af0 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: When sending back information about a global symbol, only demangle the…

dbghelp: When sending back information about a global symbol, only demangle the class & field/method name.
parent 43afc917
......@@ -617,8 +617,8 @@ static void symt_fill_sym_info(const struct module_pair* pair,
if (sym_info->MaxNameLen)
{
if (sym->tag != SymTagPublicSymbol || !(dbghelp_options & SYMOPT_UNDNAME) ||
(sym_info->NameLen = UnDecorateSymbolName(name, sym_info->Name,
sym_info->MaxNameLen, UNDNAME_COMPLETE) == 0))
(sym_info->NameLen = UnDecorateSymbolName(name, sym_info->Name,
sym_info->MaxNameLen, UNDNAME_NAME_ONLY) == 0))
{
sym_info->NameLen = min(strlen(name), sym_info->MaxNameLen - 1);
memcpy(sym_info->Name, name, sym_info->NameLen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment