Lines Matching refs:dwarf2Data

89 DWARFDebugInfoEntry::Attributes::ExtractFormValueAtIndex (SymbolFileDWARF* dwarf2Data, uint32_t i, …  in ExtractFormValueAtIndex()  argument
93 … return form_value.ExtractValue(dwarf2Data->get_debug_info_data(), &offset, CompileUnitAtIndex(i)); in ExtractFormValueAtIndex()
97 DWARFDebugInfoEntry::Attributes::FormValueAsUnsigned (SymbolFileDWARF* dwarf2Data, dw_attr_t attr, … in FormValueAsUnsigned() argument
101 return FormValueAsUnsignedAtIndex (dwarf2Data, attr_idx, fail_value); in FormValueAsUnsigned()
106 DWARFDebugInfoEntry::Attributes::FormValueAsUnsignedAtIndex(SymbolFileDWARF* dwarf2Data, uint32_t i… in FormValueAsUnsignedAtIndex() argument
109 if (ExtractFormValueAtIndex(dwarf2Data, i, form_value)) in FormValueAsUnsignedAtIndex()
279 SymbolFileDWARF* dwarf2Data, in Extract() argument
284 const DataExtractor& debug_info_data = dwarf2Data->get_debug_info_data(); in Extract()
448 SymbolFileDWARF* dwarf2Data, in DumpAncestry() argument
457 parent->DumpAncestry(dwarf2Data, cu, oldest, s, 0); in DumpAncestry()
458 Dump(dwarf2Data, cu, s, recurse_depth); in DumpAncestry()
741 SymbolFileDWARF* dwarf2Data, in GetDIENamesAndRanges() argument
755 if (dwarf2Data == NULL) in GetDIENamesAndRanges()
764 …const DWARFAbbreviationDeclaration* abbrevDecl = GetAbbreviationDeclarationPtr(dwarf2Data, cu, off… in GetDIENamesAndRanges()
768 const DataExtractor& debug_info_data = dwarf2Data->get_debug_info_data(); in GetDIENamesAndRanges()
812 const DWARFDebugRanges* debug_ranges = dwarf2Data->DebugRanges(); 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()
881 const DataExtractor &debug_loc_data = dwarf2Data->get_debug_loc_data(); in GetDIENamesAndRanges()
938 die = dwarf2Data->DebugInfo()->GetDIEPtr(die_offset, &cu_sp_ptr); in GetDIENamesAndRanges()
940 …die->GetDIENamesAndRanges(dwarf2Data, cu_sp_ptr.get(), name, mangled, ranges, decl_file, decl_line… in GetDIENamesAndRanges()
956 SymbolFileDWARF* dwarf2Data, in Dump() argument
962 const DataExtractor& debug_info_data = dwarf2Data->get_debug_info_data(); in Dump()
993 DumpAttribute(dwarf2Data, cu, debug_info_data, &offset, s, attr, form); in Dump()
1003 child->Dump(dwarf2Data, cu, s, recurse_depth-1); in Dump()
1022 SymbolFileDWARF* dwarf2Data, in DumpLocation() argument
1030 cu_name = cu_die->GetName (dwarf2Data, cu); in DumpLocation()
1032 ObjectFile *obj_file = dwarf2Data->GetObjectFile(); in DumpLocation()
1035 const char *die_name = GetName (dwarf2Data, cu); in DumpLocation()
1054 SymbolFileDWARF* dwarf2Data, in DumpAttribute() argument
1066 const DataExtractor* debug_str_data = dwarf2Data ? &dwarf2Data->get_debug_str_data() : NULL; in DumpAttribute()
1145 if (dwarf2Data) in DumpAttribute()
1149 … DWARFLocationList::Dump(s, cu, dwarf2Data->get_debug_loc_data(), debug_loc_offset); in DumpAttribute()
1167 GetName(dwarf2Data, cu, abstract_die_offset, s); in DumpAttribute()
1178 AppendTypeName(dwarf2Data, cu, type_die_offset, s); in DumpAttribute()
1189 if (dwarf2Data) in DumpAttribute()
1190 … DWARFDebugRanges::Dump(s, dwarf2Data->get_debug_ranges_data(), &ranges_offset, base_addr); in DumpAttribute()
1212 SymbolFileDWARF* dwarf2Data, in GetAttributes() argument
1220 …const DWARFAbbreviationDeclaration* abbrevDecl = GetAbbreviationDeclarationPtr(dwarf2Data, cu, off… in GetAttributes()
1224 const DataExtractor& debug_info_data = dwarf2Data->get_debug_info_data(); in GetAttributes()
1269 … die->GetAttributes(dwarf2Data, cu, fixed_form_sizes, attributes, curr_depth + 1); in GetAttributes()
1274 … die = const_cast<SymbolFileDWARF*>(dwarf2Data)->DebugInfo()->GetDIEPtr(die_offset, &cu_sp_ptr); in GetAttributes()
1276 … die->GetAttributes(dwarf2Data, cu_sp_ptr.get(), fixed_form_sizes, attributes, curr_depth + 1); in GetAttributes()
1309 SymbolFileDWARF* dwarf2Data, in GetAttributeValue() argument
1317 …const DWARFAbbreviationDeclaration* abbrevDecl = GetAbbreviationDeclarationPtr(dwarf2Data, cu, off… in GetAttributeValue()
1325 const DataExtractor& debug_info_data = dwarf2Data->get_debug_info_data(); in GetAttributeValue()
1356 SymbolFileDWARF* dwarf2Data, in GetAttributeValueAsString() argument
1362 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsString()
1363 return form_value.AsCString(&dwarf2Data->get_debug_str_data()); in GetAttributeValueAsString()
1375 SymbolFileDWARF* dwarf2Data, in GetAttributeValueAsUnsigned() argument
1382 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsUnsigned()
1395 SymbolFileDWARF* dwarf2Data, in GetAttributeValueAsSigned() argument
1402 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsSigned()
1416 SymbolFileDWARF* dwarf2Data, in GetAttributeValueAsReference() argument
1423 if (GetAttributeValue(dwarf2Data, cu, attr, form_value)) in GetAttributeValueAsReference()
1439 SymbolFileDWARF* dwarf2Data, in GetAttributeHighPC() argument
1447 if (GetAttributeValue(dwarf2Data, cu, DW_AT_high_pc, form_value)) in GetAttributeHighPC()
1468 SymbolFileDWARF* dwarf2Data, in GetAttributeAddressRange() argument
1475 lo_pc = GetAttributeValueAsUnsigned(dwarf2Data, cu, DW_AT_low_pc, fail_value); in GetAttributeAddressRange()
1478 hi_pc = GetAttributeHighPC(dwarf2Data, cu, lo_pc, fail_value); in GetAttributeAddressRange()
1495 SymbolFileDWARF* dwarf2Data, in GetAttributeValueAsLocation() argument
1508 …const dw_offset_t attr_offset = GetAttributeValue(dwarf2Data, cu, attr, form_value, &end_addr_offs… in GetAttributeValueAsLocation()
1515 const DataExtractor& debug_info = dwarf2Data->get_debug_info_data(); in GetAttributeValueAsLocation()
1526 if (dwarf2Data) in GetAttributeValueAsLocation()
1528 … assert(dwarf2Data->get_debug_loc_data().GetAddressByteSize() == cu->GetAddressByteSize()); in GetAttributeValueAsLocation()
1529 …return DWARFLocationList::Extract(dwarf2Data->get_debug_loc_data(), &debug_loc_offset, location_da… in GetAttributeValueAsLocation()
1545 SymbolFileDWARF* dwarf2Data, in GetName() argument
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 …const DWARFDebugInfoEntry* die = const_cast<SymbolFileDWARF*>(dwarf2Data)->DebugInfo()->GetDIEPtr(… in GetName()
1559 return die->GetName(dwarf2Data, cu_sp_ptr.get()); in GetName()
1575 SymbolFileDWARF* dwarf2Data, in GetMangledName() argument
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()
1607 SymbolFileDWARF* dwarf2Data, in GetPubname() argument
1612 if (!dwarf2Data) in GetPubname()
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 …const DWARFDebugInfoEntry* die = const_cast<SymbolFileDWARF*>(dwarf2Data)->DebugInfo()->GetDIEPtr(… in GetPubname()
1630 return die->GetPubname(dwarf2Data, cu_sp_ptr.get()); in GetPubname()
1648 SymbolFileDWARF* dwarf2Data, in GetName() argument
1654 if (dwarf2Data == NULL) in GetName()
1662 if (die.Extract(dwarf2Data, cu, &offset)) in GetName()
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()
1697 SymbolFileDWARF* dwarf2Data, in AppendTypeName() argument
1703 if (dwarf2Data == NULL) in AppendTypeName()
1711 if (die.Extract(dwarf2Data, cu, &offset)) in AppendTypeName()
1720 const char* name = die.GetPubname(dwarf2Data, cu); in AppendTypeName()
1728 …ARFAbbreviationDeclaration* abbrevDecl = die.GetAbbreviationDeclarationPtr(dwarf2Data, cu, offset); in AppendTypeName()
1763 if (die.GetAttributeValue(dwarf2Data, cu, DW_AT_type, form_value)) in AppendTypeName()
1766 result = AppendTypeName(dwarf2Data, cu, next_die_offset, s); in AppendTypeName()
1808 SymbolFileDWARF* dwarf2Data, in BuildAddressRangeTable() argument
1819 if (GetAttributeAddressRange(dwarf2Data, cu, lo_pc, hi_pc, LLDB_INVALID_ADDRESS)) in BuildAddressRangeTable()
1830 child->BuildAddressRangeTable(dwarf2Data, cu, debug_aranges); in BuildAddressRangeTable()
1847 SymbolFileDWARF* dwarf2Data, in BuildFunctionAddressRangeTable() argument
1858 if (GetAttributeAddressRange(dwarf2Data, cu, lo_pc, hi_pc, LLDB_INVALID_ADDRESS)) in BuildFunctionAddressRangeTable()
1868 child->BuildFunctionAddressRangeTable(dwarf2Data, cu, debug_aranges); in BuildFunctionAddressRangeTable()
1875 DWARFDebugInfoEntry::GetDeclContextDIEs (SymbolFileDWARF* dwarf2Data, in GetDeclContextDIEs() argument
1879 const DWARFDebugInfoEntry *parent_decl_ctx_die = GetParentDeclContextDIE (dwarf2Data, cu); in GetDeclContextDIEs()
1883 parent_decl_ctx_die->GetDeclContextDIEs (dwarf2Data, cu, decl_context_dies); in GetDeclContextDIEs()
1888 DWARFDebugInfoEntry::GetDWARFDeclContext (SymbolFileDWARF* dwarf2Data, in GetDWARFDeclContext() argument
1895 dwarf_decl_ctx.AppendDeclContext(tag, GetName(dwarf2Data, cu)); in GetDWARFDeclContext()
1896 const DWARFDebugInfoEntry *parent_decl_ctx_die = GetParentDeclContextDIE (dwarf2Data, cu); in GetDWARFDeclContext()
1900 parent_decl_ctx_die->GetDWARFDeclContext (dwarf2Data, cu, dwarf_decl_ctx); in GetDWARFDeclContext()
1907 DWARFDebugInfoEntry::MatchesDWARFDeclContext (SymbolFileDWARF* dwarf2Data, in MatchesDWARFDeclContext() argument
1913 GetDWARFDeclContext (dwarf2Data, cu, this_dwarf_decl_ctx); in MatchesDWARFDeclContext()
1918 DWARFDebugInfoEntry::GetParentDeclContextDIE (SymbolFileDWARF* dwarf2Data, in GetParentDeclContextDIE() argument
1922 GetAttributes(dwarf2Data, cu, NULL, attributes); in GetParentDeclContextDIE()
1923 return GetParentDeclContextDIE (dwarf2Data, cu, attributes); in GetParentDeclContextDIE()
1927 DWARFDebugInfoEntry::GetParentDeclContextDIE (SymbolFileDWARF* dwarf2Data, in GetParentDeclContextDIE() argument
1956 die_offset = attributes.FormValueAsUnsigned(dwarf2Data, DW_AT_specification, DW_INVALID_OFFSET); in GetParentDeclContextDIE()
1962 …st DWARFDebugInfoEntry *spec_die_decl_ctx_die = spec_die->GetParentDeclContextDIE (dwarf2Data, cu); in GetParentDeclContextDIE()
1968 … die_offset = attributes.FormValueAsUnsigned(dwarf2Data, DW_AT_abstract_origin, DW_INVALID_OFFSET); in GetParentDeclContextDIE()
1974 …const DWARFDebugInfoEntry *abs_die_decl_ctx_die = abs_die->GetParentDeclContextDIE (dwarf2Data, cu… in GetParentDeclContextDIE()
1987 DWARFDebugInfoEntry::GetQualifiedName (SymbolFileDWARF* dwarf2Data, in GetQualifiedName() argument
1992 GetAttributes(dwarf2Data, cu, NULL, attributes); in GetQualifiedName()
1993 return GetQualifiedName (dwarf2Data, cu, attributes, storage); in GetQualifiedName()
1997 DWARFDebugInfoEntry::GetQualifiedName (SymbolFileDWARF* dwarf2Data, in GetQualifiedName() argument
2003 const char *name = GetName (dwarf2Data, cu); in GetQualifiedName()
2007 const DWARFDebugInfoEntry *parent_decl_ctx_die = GetParentDeclContextDIE (dwarf2Data, cu); in GetQualifiedName()
2017 const char *namespace_name = parent_decl_ctx_die->GetName (dwarf2Data, cu); in GetQualifiedName()
2027 parent_decl_ctx_die = parent_decl_ctx_die->GetParentDeclContextDIE(dwarf2Data, cu); in GetQualifiedName()
2035 const char *class_union_struct_name = parent_decl_ctx_die->GetName (dwarf2Data, cu); in GetQualifiedName()
2042 parent_decl_ctx_die = parent_decl_ctx_die->GetParentDeclContextDIE(dwarf2Data, cu); in GetQualifiedName()
2070 SymbolFileDWARF* dwarf2Data, in LookupAddress() argument
2145 … dw_addr_t lo_pc = GetAttributeValueAsUnsigned(dwarf2Data, cu, DW_AT_low_pc, LLDB_INVALID_ADDRESS); in LookupAddress()
2148 dw_addr_t hi_pc = GetAttributeHighPC(dwarf2Data, cu, lo_pc, LLDB_INVALID_ADDRESS); in LookupAddress()
2192 …dw_offset_t debug_ranges_offset = GetAttributeValueAsUnsigned(dwarf2Data, cu, DW_AT_ranges, DW_INV… in LookupAddress()
2196 DWARFDebugRanges* debug_ranges = dwarf2Data->DebugRanges(); in LookupAddress()
2247 if (child->LookupAddress(address, dwarf2Data, cu, function_die, block_die)) in LookupAddress()
2257 DWARFDebugInfoEntry::GetAbbreviationDeclarationPtr (SymbolFileDWARF* dwarf2Data, in GetAbbreviationDeclarationPtr() argument
2261 if (dwarf2Data) in GetAbbreviationDeclarationPtr()
2271 const uint64_t abbrev_code = dwarf2Data->get_debug_info_data().GetULEB128 (&offset); in GetAbbreviationDeclarationPtr()
2276dwarf2Data->GetObjectFile()->GetModule()->ReportErrorIfModifyDetected ("0x%8.8x: the DWARF debug i… in GetAbbreviationDeclarationPtr()