[PATCH 05/19] dbghelp: expose SymTagBlock's children in SymGetTypeInfo()

Eric Pouech eric.pouech at gmail.com
Wed Oct 6 03:01:05 CDT 2021


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

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