if parts == nil {
continue
}
+ // Don't work on this variable again, no matter how many slots it has.
+ delete(varParts, n)
// Get the order the parts need to be in to represent the memory
// of the decomposed user variable.
DW_CHILDREN_no,
[]dwAttrForm{
{DW_AT_name, DW_FORM_string},
+ {DW_AT_decl_line, DW_FORM_udata},
{DW_AT_location, DW_FORM_sec_offset},
{DW_AT_type, DW_FORM_ref_addr},
},
DW_CHILDREN_no,
[]dwAttrForm{
{DW_AT_name, DW_FORM_string},
+ {DW_AT_decl_line, DW_FORM_udata},
{DW_AT_location, DW_FORM_sec_offset},
{DW_AT_type, DW_FORM_ref_addr},
},