Eric Pouech : dbghelp: Return SymTagExe when requesting lexical parent of types in SymGetTypeInfo().

Alexandre Julliard julliard at winehq.org
Wed Oct 6 15:51:37 CDT 2021


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Oct  6 10:01:48 2021 +0200

dbghelp: Return SymTagExe when requesting lexical parent of types in SymGetTypeInfo().

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

---

 dlls/dbghelp/type.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 320af023135..b45e79e9946 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -763,7 +763,13 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
             break;
         case SymTagUDT:
         case SymTagEnum:
+        case SymTagFunctionType:
         case SymTagFunctionArgType:
+        case SymTagPointerType:
+        case SymTagArrayType:
+        case SymTagBaseType:
+        case SymTagTypedef:
+        case SymTagBaseClass:
             X(DWORD) = symt_ptr2index(module, &module->top->symt);
             break;
         default:




More information about the wine-cvs mailing list