dbghelp: Added support for index leaves in types definition for CodeView debug format.
This commit is contained in:
parent
5393d8869e
commit
83462bf081
|
@ -935,6 +935,18 @@ static int codeview_add_type_struct_field_list(struct codeview_type_parse* ctp,
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case LF_INDEX_V1:
|
||||||
|
if (!codeview_add_type_struct_field_list(ctp, symt, type->index_v1.ref))
|
||||||
|
return FALSE;
|
||||||
|
ptr += 2 + 2;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case LF_INDEX_V2:
|
||||||
|
if (!codeview_add_type_struct_field_list(ctp, symt, type->index_v2.ref))
|
||||||
|
return FALSE;
|
||||||
|
ptr += 2 + 2 + 4;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
FIXME("Unsupported type %04x in STRUCT field list\n", type->generic.id);
|
FIXME("Unsupported type %04x in STRUCT field list\n", type->generic.id);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -723,6 +723,18 @@ union codeview_fieldtype
|
||||||
struct p_string p_name;
|
struct p_string p_name;
|
||||||
} membermodify_v2;
|
} membermodify_v2;
|
||||||
|
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
short int id;
|
||||||
|
short int ref;
|
||||||
|
} index_v1;
|
||||||
|
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
short int id;
|
||||||
|
short int unk;
|
||||||
|
unsigned int ref;
|
||||||
|
} index_v2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue