Commit 99f56bf7 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dbghelp: Recognize DW_FORM_flag_present.

parent 066330d4
......@@ -462,6 +462,7 @@ static void dwarf2_swallow_attribute(dwarf2_traverse_context_t* ctx,
switch (abbrev_attr->form)
{
case DW_FORM_flag_present: step = 0; break;
case DW_FORM_ref_addr:
case DW_FORM_addr: step = ctx->word_size; break;
case DW_FORM_flag:
......@@ -509,6 +510,11 @@ static void dwarf2_fill_attr(const dwarf2_parse_context_t* ctx,
TRACE("flag<0x%lx>\n", attr->u.uvalue);
break;
case DW_FORM_flag_present:
attr->u.uvalue = 1;
TRACE("flag_present\n");
break;
case DW_FORM_data1:
attr->u.uvalue = dwarf2_get_byte(data);
TRACE("data1<%lu>\n", attr->u.uvalue);
......
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