Commit 4540d4f4 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Expose SymTagBlock's children in SymGetTypeInfo().

parent 4bf83f21
...@@ -555,6 +555,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type, ...@@ -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 SymTagEnum: v = &((const struct symt_enum*)type)->vchildren; break;
case SymTagFunctionType: v = &((const struct symt_function_signature*)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 SymTagFunction: v = &((const struct symt_function*)type)->vchildren; break;
case SymTagBlock: v = &((const struct symt_block*)type)->vchildren; break;
default: default:
FIXME("Unsupported sym-tag %s for find-children\n", FIXME("Unsupported sym-tag %s for find-children\n",
symt_get_tag_str(type->tag)); symt_get_tag_str(type->tag));
...@@ -614,6 +615,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type, ...@@ -614,6 +615,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagFunction: case SymTagFunction:
X(DWORD) = vector_length(&((const struct symt_function*)type)->vchildren); X(DWORD) = vector_length(&((const struct symt_function*)type)->vchildren);
break; break;
case SymTagBlock:
X(DWORD) = vector_length(&((const struct symt_block*)type)->vchildren);
break;
case SymTagPointerType: /* MS does it that way */ case SymTagPointerType: /* MS does it that way */
case SymTagArrayType: /* MS does it that way */ case SymTagArrayType: /* MS does it that way */
case SymTagThunk: /* MS does it that way */ case SymTagThunk: /* MS does it that way */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment