Eric Pouech : dbghelp: Expose SymTagBlock's children in SymGetTypeInfo().
Alexandre Julliard
julliard at winehq.org
Wed Oct 6 15:51:36 CDT 2021
Module: wine
Branch: master
Commit: 4540d4f4924e1c143073afecd550401771bd9918
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4540d4f4924e1c143073afecd550401771bd9918
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Oct 6 10:01:05 2021 +0200
dbghelp: Expose SymTagBlock's children 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 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 69b25bafef0..e7c180f32d7 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -555,6 +555,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagEnum: v = &((const struct symt_enum*)type)->vchildren; break;
case SymTagFunctionType: v = &((const struct symt_function_signature*)type)->vchildren; break;
case SymTagFunction: v = &((const struct symt_function*)type)->vchildren; break;
+ case SymTagBlock: v = &((const struct symt_block*)type)->vchildren; break;
default:
FIXME("Unsupported sym-tag %s for find-children\n",
symt_get_tag_str(type->tag));
@@ -614,6 +615,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagFunction:
X(DWORD) = vector_length(&((const struct symt_function*)type)->vchildren);
break;
+ case SymTagBlock:
+ X(DWORD) = vector_length(&((const struct symt_block*)type)->vchildren);
+ break;
case SymTagPointerType: /* MS does it that way */
case SymTagArrayType: /* MS does it that way */
case SymTagThunk: /* MS does it that way */
More information about the wine-cvs
mailing list