dbghelp: Return the symt_module when requesting lexical parent of a UDT.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-08-30 09:24:41 +02:00 committed by Alexandre Julliard
parent 2325962e74
commit 5c8c999b5a
1 changed files with 3 additions and 0 deletions

View File

@ -708,6 +708,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagFunctionArgType:
X(DWORD) = symt_ptr2index(module, ((const struct symt_function_arg_type*)type)->container);
break;
case SymTagUDT:
X(DWORD) = symt_ptr2index(module, &module->top->symt);
break;
default:
FIXME("Unsupported sym-tag %s for get-lexical-parent\n",
symt_get_tag_str(type->tag));