Lines Matching refs:form_value
89 …ExtractFormValueAtIndex (SymbolFileDWARF* dwarf2Data, uint32_t i, DWARFFormValue &form_value) const in ExtractFormValueAtIndex()
91 form_value.SetForm(FormAtIndex(i)); in ExtractFormValueAtIndex()
93 … return form_value.ExtractValue(dwarf2Data->get_debug_info_data(), &offset, CompileUnitAtIndex(i)); in ExtractFormValueAtIndex()
108 DWARFFormValue form_value; in FormValueAsUnsignedAtIndex() local
109 if (ExtractFormValueAtIndex(dwarf2Data, i, form_value)) in FormValueAsUnsignedAtIndex()
110 return form_value.Reference(CompileUnitAtIndex(i)); in FormValueAsUnsignedAtIndex()
322 DWARFFormValue form_value(form); in Extract() local
323 if (form_value.ExtractValue(debug_info_data, &offset, cu)) in Extract()
326 ((DWARFCompileUnit*)cu)->SetBaseAddress(form_value.Unsigned()); in Extract()
782 DWARFFormValue form_value(form); in GetDIENamesAndRanges() local
783 if (form_value.ExtractValue(debug_info_data, &offset, cu)) in GetDIENamesAndRanges()
788 lo_pc = form_value.Unsigned(); in GetDIENamesAndRanges()
796 lo_pc = form_value.Unsigned(); in GetDIENamesAndRanges()
800 hi_pc = form_value.Unsigned(); in GetDIENamesAndRanges()
801 if (form_value.Form() != DW_FORM_addr) in GetDIENamesAndRanges()
813 debug_ranges->FindRanges(form_value.Unsigned(), ranges); in GetDIENamesAndRanges()
823 name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetDIENamesAndRanges()
829 mangled = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetDIENamesAndRanges()
833 die_offsets.push_back(form_value.Reference(cu)); in GetDIENamesAndRanges()
837 die_offsets.push_back(form_value.Reference(cu)); in GetDIENamesAndRanges()
842 decl_file = form_value.Unsigned(); in GetDIENamesAndRanges()
847 decl_line = form_value.Unsigned(); in GetDIENamesAndRanges()
852 decl_column = form_value.Unsigned(); in GetDIENamesAndRanges()
857 call_file = form_value.Unsigned(); in GetDIENamesAndRanges()
862 call_line = form_value.Unsigned(); in GetDIENamesAndRanges()
867 call_column = form_value.Unsigned(); in GetDIENamesAndRanges()
873 if (form_value.BlockData()) in GetDIENamesAndRanges()
875 … uint32_t block_offset = form_value.BlockData() - debug_info_data.GetDataStart(); in GetDIENamesAndRanges()
876 uint32_t block_length = form_value.Unsigned(); in GetDIENamesAndRanges()
882 const dw_offset_t debug_loc_offset = form_value.Unsigned(); in GetDIENamesAndRanges()
1078 DWARFFormValue form_value(form); in DumpAttribute() local
1080 if (!form_value.ExtractValue(debug_info_data, offset_ptr, cu)) in DumpAttribute()
1087 s.Printf( " [%s]", DW_FORM_value_to_name(form_value.Form())); in DumpAttribute()
1098 form_value.Dump(s, debug_str_data, cu); in DumpAttribute()
1107 s.Printf( "0x%8.8" PRIx64, form_value.Unsigned()); in DumpAttribute()
1113 s.PutCString(DW_LANG_value_to_name(form_value.Unsigned())); in DumpAttribute()
1119 s.PutCString(DW_ATE_value_to_name(form_value.Unsigned())); in DumpAttribute()
1127 const uint8_t* blockData = form_value.BlockData(); in DumpAttribute()
1131 form_value.Dump(s, debug_str_data, cu); in DumpAttribute()
1134 …DataExtractor locationData(debug_info_data, (*offset_ptr) - form_value.Unsigned(), form_value.Unsi… in DumpAttribute()
1144 uint64_t debug_loc_offset = form_value.Unsigned(); in DumpAttribute()
1148 form_value.Dump(s, debug_str_data, cu); in DumpAttribute()
1154 form_value.Dump(s, NULL, cu); in DumpAttribute()
1163 uint64_t abstract_die_offset = form_value.Reference(cu); in DumpAttribute()
1164 form_value.Dump(s, debug_str_data, cu); in DumpAttribute()
1174 uint64_t type_die_offset = form_value.Reference(cu); in DumpAttribute()
1176 form_value.Dump(s, debug_str_data, cu); in DumpAttribute()
1186 form_value.Dump(s, debug_str_data, cu); in DumpAttribute()
1187 lldb::offset_t ranges_offset = form_value.Unsigned(); in DumpAttribute()
1196 form_value.Dump(s, debug_str_data, cu); in DumpAttribute()
1233 DWARFFormValue form_value; in GetAttributes() local
1260 form_value.SetForm(form); in GetAttributes()
1261 if (form_value.ExtractValue(debug_info_data, &offset, cu)) in GetAttributes()
1264 dw_offset_t die_offset = form_value.Reference(cu); in GetAttributes()
1312 DWARFFormValue& form_value, in GetAttributeValue() argument
1332 form_value.SetForm(abbrevDecl->GetFormByIndex(idx)); in GetAttributeValue()
1333 if (form_value.ExtractValue(debug_info_data, &offset, cu)) in GetAttributeValue()
1361 DWARFFormValue form_value; in GetAttributeValueAsString() local
1362 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsString()
1363 return form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetAttributeValueAsString()
1381 DWARFFormValue form_value; in GetAttributeValueAsUnsigned() local
1382 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsUnsigned()
1383 return form_value.Unsigned(); in GetAttributeValueAsUnsigned()
1401 DWARFFormValue form_value; in GetAttributeValueAsSigned() local
1402 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsSigned()
1403 return form_value.Signed(); in GetAttributeValueAsSigned()
1422 DWARFFormValue form_value; in GetAttributeValueAsReference() local
1423 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsReference()
1424 return form_value.Reference(cu); in GetAttributeValueAsReference()
1445 DWARFFormValue form_value; in GetAttributeHighPC() local
1447 if (GetAttributeValue(dwarf2Data, cu, DW_AT_high_pc, form_value)) in GetAttributeHighPC()
1449 dw_addr_t hi_pc = form_value.Unsigned(); in GetAttributeHighPC()
1450 if (form_value.Form() != DW_FORM_addr) in GetAttributeHighPC()
1503 DWARFFormValue form_value; in GetAttributeValueAsLocation() local
1508 …const dw_offset_t attr_offset = GetAttributeValue(dwarf2Data, cu, attr, form_value, &end_addr_offs… in GetAttributeValueAsLocation()
1511 const uint8_t* blockData = form_value.BlockData(); in GetAttributeValueAsLocation()
1517 block_size = (end_addr_offset - attr_offset) - form_value.Unsigned(); in GetAttributeValueAsLocation()
1525 lldb::offset_t debug_loc_offset = form_value.Unsigned(); in GetAttributeValueAsLocation()
1549 DWARFFormValue form_value; in GetName() local
1550 if (GetAttributeValue(dwarf2Data, cu, DW_AT_name, form_value)) in GetName()
1551 return form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetName()
1554 if (GetAttributeValue(dwarf2Data, cu, DW_AT_specification, form_value)) in GetName()
1557 …die = const_cast<SymbolFileDWARF*>(dwarf2Data)->DebugInfo()->GetDIEPtr(form_value.Reference(cu), &… in GetName()
1581 DWARFFormValue form_value; in GetMangledName() local
1583 if (GetAttributeValue(dwarf2Data, cu, DW_AT_MIPS_linkage_name, form_value)) in GetMangledName()
1584 name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetMangledName()
1586 if (GetAttributeValue(dwarf2Data, cu, DW_AT_linkage_name, form_value)) in GetMangledName()
1587 name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetMangledName()
1591 if (GetAttributeValue(dwarf2Data, cu, DW_AT_name, form_value)) in GetMangledName()
1592 name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetMangledName()
1615 DWARFFormValue form_value; in GetPubname() local
1617 if (GetAttributeValue(dwarf2Data, cu, DW_AT_MIPS_linkage_name, form_value)) in GetPubname()
1618 name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetPubname()
1619 else if (GetAttributeValue(dwarf2Data, cu, DW_AT_linkage_name, form_value)) in GetPubname()
1620 name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetPubname()
1621 else if (GetAttributeValue(dwarf2Data, cu, DW_AT_name, form_value)) in GetPubname()
1622 name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetPubname()
1623 else if (GetAttributeValue(dwarf2Data, cu, DW_AT_specification, form_value)) in GetPubname()
1628 …die = const_cast<SymbolFileDWARF*>(dwarf2Data)->DebugInfo()->GetDIEPtr(form_value.Reference(cu), &… in GetPubname()
1671 DWARFFormValue form_value; in GetName() local
1672 if (die.GetAttributeValue(dwarf2Data, cu, DW_AT_name, form_value)) in GetName()
1674 const char* name = form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetName()
1762 DWARFFormValue form_value; in AppendTypeName() local
1763 if (die.GetAttributeValue(dwarf2Data, cu, DW_AT_type, form_value)) in AppendTypeName()
1765 uint64_t next_die_offset = form_value.Reference(cu); in AppendTypeName()