dbghelp: In dwarf attribute parsing, ensure that we do have a block when parsing a block.
This commit is contained in:
parent
ea21a32707
commit
6a6edcd1ca
|
@ -878,6 +878,13 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
|
||||||
loc->reg = Wine_DW_no_register;
|
loc->reg = Wine_DW_no_register;
|
||||||
loc->offset = xloc.u.uvalue;
|
loc->offset = xloc.u.uvalue;
|
||||||
return TRUE;
|
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 */
|
/* assume we have a block form */
|
||||||
|
|
Loading…
Reference in New Issue