Commit 00202652 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Add dwarf support of DW_FORM_ref_udata.

DW_FORM_ref_udata value is an offset from current unit (as the others DW_FORM_ref[1,2,3,4] are) Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7790b395
......@@ -544,7 +544,8 @@ static void dwarf2_fill_attr(const dwarf2_parse_context_t* ctx,
break;
case DW_FORM_ref_udata:
attr->u.uvalue = dwarf2_get_leb128_as_unsigned(data, NULL);
attr->u.uvalue = ctx->ref_offset + dwarf2_get_leb128_as_unsigned(data, NULL);
TRACE("ref_udata<0x%lx>\n", attr->u.uvalue);
break;
case DW_FORM_udata:
......
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