dbghelp: Return lexical parent of SymTag(FuncDebugStart|FuncDebugEnd|Label) in SymGetTypeInfo().

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-10-06 10:01:54 +02:00 committed by Alexandre Julliard
parent 507a3ef304
commit f2fbf59246
1 changed files with 5 additions and 0 deletions

View File

@ -761,6 +761,11 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagThunk:
X(DWORD) = symt_ptr2index(module, ((const struct symt_thunk*)type)->container);
break;
case SymTagFuncDebugStart:
case SymTagFuncDebugEnd:
case SymTagLabel:
X(DWORD) = symt_ptr2index(module, ((const struct symt_hierarchy_point*)type)->parent);
break;
case SymTagUDT:
case SymTagEnum:
case SymTagFunctionType: