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

Alexandre Julliard julliard at winehq.org
Mon Aug 30 15:53:52 CDT 2021


Module: wine
Branch: master
Commit: 5c8c999b5a3cde715075cabd086d9854dd759486
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5c8c999b5a3cde715075cabd086d9854dd759486

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Aug 30 09:24:41 2021 +0200

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

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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-cvs mailing list