[PATCH 07/11] dbghelp: return the symt_module when requesting lexical parent of an UDT
Eric Pouech
eric.pouech at gmail.com
Mon Aug 30 02:24:41 CDT 2021
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/dbghelp/type.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index ad88ac629df..56673a7e4c4 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -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));
More information about the wine-devel
mailing list