Commit 6a6edcd1 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: In dwarf attribute parsing, ensure that we do have a block when parsing a block.

parent ea21a327
......@@ -878,6 +878,13 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
loc->reg = Wine_DW_no_register;
loc->offset = xloc.u.uvalue;
return TRUE;
case DW_FORM_block:
case DW_FORM_block1:
case DW_FORM_block2:
case DW_FORM_block4:
break;
default: FIXME("Unsupported yet form %lx\n", xloc.form);
return FALSE;
}
/* assume we have a block form */
......
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