mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
dbghelp: When sending back information about a global symbol, only demangle the class & field/method name.
This commit is contained in:
parent
43afc9178b
commit
ee1a9af0ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user