mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 00:56:07 +00:00
dbghelp: Support SymGetTypeInfo/TI_GET_LENGTH for variables.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
This commit is contained in:
parent
12f2a1768c
commit
d1f7bc7c05
|
@ -833,10 +833,17 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
|
|||
return FALSE;
|
||||
break;
|
||||
case SymTagData:
|
||||
if (((const struct symt_data*)type)->kind != DataIsMember ||
|
||||
!((const struct symt_data*)type)->u.member.bit_length)
|
||||
return FALSE;
|
||||
X(DWORD64) = ((const struct symt_data*)type)->u.member.bit_length;
|
||||
switch (((const struct symt_data*)type)->kind)
|
||||
{
|
||||
case DataIsMember:
|
||||
if (!((const struct symt_data*)type)->u.member.bit_length)
|
||||
return FALSE;
|
||||
X(DWORD64) = ((const struct symt_data*)type)->u.member.bit_length;
|
||||
break;
|
||||
default:
|
||||
if (!symt_get_info(module, ((const struct symt_data*)type)->type, TI_GET_LENGTH, pInfo))
|
||||
return FALSE;
|
||||
}
|
||||
break;
|
||||
case SymTagArrayType:
|
||||
if (!symt_get_info(module, ((const struct symt_array*)type)->base_type,
|
||||
|
|
Loading…
Reference in a new issue