Commit 2c2da87c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Don't try to load fieldlist for a forward declaration.

parent 0957cd03
......@@ -1156,6 +1156,7 @@ static struct symt* codeview_parse_one_type(struct codeview_type_parse* ctp,
if (details)
{
codeview_add_type(curr_type, symt);
if (!(type->struct_v1.property & 0x80)) /* 0x80 = forward declaration */
codeview_add_type_struct_field_list(ctp, (struct symt_udt*)symt,
type->struct_v1.fieldlist);
}
......@@ -1171,6 +1172,7 @@ static struct symt* codeview_parse_one_type(struct codeview_type_parse* ctp,
if (details)
{
codeview_add_type(curr_type, symt);
if (!(type->struct_v2.property & 0x80)) /* 0x80 = forward declaration */
codeview_add_type_struct_field_list(ctp, (struct symt_udt*)symt,
type->struct_v2.fieldlist);
}
......@@ -1186,6 +1188,7 @@ static struct symt* codeview_parse_one_type(struct codeview_type_parse* ctp,
if (details)
{
codeview_add_type(curr_type, symt);
if (!(type->struct_v3.property & 0x80)) /* 0x80 = forward declaration */
codeview_add_type_struct_field_list(ctp, (struct symt_udt*)symt,
type->struct_v3.fieldlist);
}
......
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