Commit 11d8338f authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Expose SymTagBlock's address and size in SymGetTypeInfo().

parent 4540d4f4
......@@ -141,6 +141,9 @@ BOOL symt_get_address(const struct symt* type, ULONG64* addr)
default: return FALSE;
}
break;
case SymTagBlock:
*addr = ((const struct symt_block*)type)->address;
break;
case SymTagFunction:
*addr = ((const struct symt_function*)type)->address;
break;
......@@ -664,6 +667,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagFunction:
X(DWORD64) = ((const struct symt_function*)type)->size;
break;
case SymTagBlock:
X(DWORD64) = ((const struct symt_block*)type)->size;
break;
case SymTagPointerType:
X(DWORD64) = ((const struct symt_pointer*)type)->size;
break;
......
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