Lines Matching refs:dwarf_cu

311     DWARFCompileUnit* dwarf_cu = NULL;  in GetTypes()  local
317 dwarf_cu = GetDWARFCompileUnit(comp_unit); in GetTypes()
318 if (dwarf_cu == 0) in GetTypes()
320 GetTypes (dwarf_cu, in GetTypes()
321 dwarf_cu->DIE(), in GetTypes()
322 dwarf_cu->GetOffset(), in GetTypes()
323 dwarf_cu->GetNextCompileUnitOffset(), in GetTypes()
335 dwarf_cu = info->GetCompileUnitAtIndex(cu_idx); in GetTypes()
336 if (dwarf_cu) in GetTypes()
338 GetTypes (dwarf_cu, in GetTypes()
339 dwarf_cu->DIE(), in GetTypes()
900 SymbolFileDWARF::ParseCompileUnit (DWARFCompileUnit* dwarf_cu, uint32_t cu_idx) in ParseCompileUnit() argument
903 if (dwarf_cu) in ParseCompileUnit()
905 CompileUnit *comp_unit = (CompileUnit*)dwarf_cu->GetUserData(); in ParseCompileUnit()
917 dwarf_cu->SetUserData(cu_sp.get()); in ParseCompileUnit()
924 const DWARFDebugInfoEntry * cu_die = dwarf_cu->GetCompileUnitDIEOnly (); in ParseCompileUnit()
927 const char * cu_die_name = cu_die->GetName(this, dwarf_cu); in ParseCompileUnit()
928 …const char * cu_comp_dir = cu_die->GetAttributeValueAsString(this, dwarf_cu, DW_AT_comp_dir, NULL); in ParseCompileUnit()
929 …e cu_language = (LanguageType)cu_die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_language, … in ParseCompileUnit()
957 dwarf_cu, in ParseCompileUnit()
959 MakeUserID(dwarf_cu->GetOffset()), in ParseCompileUnit()
963 dwarf_cu->SetUserData(cu_sp.get()); in ParseCompileUnit()
967 DebugInfo()->GetCompileUnit(dwarf_cu->GetOffset(), &cu_idx); in ParseCompileUnit()
996 DWARFCompileUnit* dwarf_cu = info->GetCompileUnitAtIndex(cu_idx); in ParseCompileUnitAtIndex() local
997 if (dwarf_cu) in ParseCompileUnitAtIndex()
998 cu_sp = ParseCompileUnit(dwarf_cu, cu_idx); in ParseCompileUnitAtIndex()
1021 SymbolFileDWARF::ParseCompileUnitFunction (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, con… in ParseCompileUnitFunction() argument
1040 dwarf_cu, in ParseCompileUnitFunction()
1122 DWARFCompileUnit* dwarf_cu = GetDWARFCompileUnit(sc.comp_unit); in ParseCompileUnitLanguage() local
1123 if (dwarf_cu) in ParseCompileUnitLanguage()
1125 const DWARFDebugInfoEntry *die = dwarf_cu->GetCompileUnitDIEOnly(); in ParseCompileUnitLanguage()
1128 … const uint32_t language = die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_language, 0); in ParseCompileUnitLanguage()
1141 DWARFCompileUnit* dwarf_cu = GetDWARFCompileUnit(sc.comp_unit); in ParseCompileUnitFunctions() local
1142 if (dwarf_cu) in ParseCompileUnitFunctions()
1145 const size_t num_functions = dwarf_cu->AppendDIEsWithTag (DW_TAG_subprogram, function_dies); in ParseCompileUnitFunctions()
1152 if (ParseCompileUnitFunction(sc, dwarf_cu, die)) in ParseCompileUnitFunctions()
1165 DWARFCompileUnit* dwarf_cu = GetDWARFCompileUnit(sc.comp_unit); in ParseCompileUnitSupportFiles() local
1166 if (dwarf_cu) in ParseCompileUnitSupportFiles()
1168 const DWARFDebugInfoEntry * cu_die = dwarf_cu->GetCompileUnitDIEOnly(); in ParseCompileUnitSupportFiles()
1172 …const char * cu_comp_dir = cu_die->GetAttributeValueAsString(this, dwarf_cu, DW_AT_comp_dir, NULL); in ParseCompileUnitSupportFiles()
1173 …dw_offset_t stmt_list = cu_die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_stmt_list, DW_IN… in ParseCompileUnitSupportFiles()
1244 DWARFCompileUnit* dwarf_cu = GetDWARFCompileUnit(sc.comp_unit); in ParseCompileUnitLineTable() local
1245 if (dwarf_cu) in ParseCompileUnitLineTable()
1247 const DWARFDebugInfoEntry *dwarf_cu_die = dwarf_cu->GetCompileUnitDIEOnly(); in ParseCompileUnitLineTable()
1250 …fset_t cu_line_offset = dwarf_cu_die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_stmt_list,… in ParseCompileUnitLineTable()
1285 DWARFCompileUnit* dwarf_cu, in ParseFunctionBlocks() argument
1331 dwarf_cu, in ParseFunctionBlocks()
1382 dwarf_cu, in ParseFunctionBlocks()
1407 SymbolFileDWARF::ParseTemplateDIE (DWARFCompileUnit* dwarf_cu, in ParseTemplateDIE() argument
1418 …_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAddressByteSi… in ParseTemplateDIE()
1422 dwarf_cu, in ParseTemplateDIE()
1447 const dw_offset_t type_die_offset = form_value.Reference(dwarf_cu); in ParseTemplateDIE()
1509 SymbolFileDWARF::ParseTemplateParameterInfos (DWARFCompileUnit* dwarf_cu, in ParseTemplateParameterInfos() argument
1528 ParseTemplateDIE (dwarf_cu, die, template_param_infos); in ParseTemplateParameterInfos()
1656 SymbolFileDWARF::ClassOrStructIsVirtual (DWARFCompileUnit* dwarf_cu, in ClassOrStructIsVirtual() argument
1676 if (die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_virtuality, 0) != 0) in ClassOrStructIsVirtual()
1688 DWARFCompileUnit* dwarf_cu, in ParseChildMembers() argument
1706 …const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAd… in ParseChildMembers()
1721 dwarf_cu, in ParseChildMembers()
1756 … case DW_AT_type: encoding_uid = form_value.Reference(dwarf_cu); break; in ParseChildMembers()
1981 … detect_unnamed_bitfields = dwarf_cu->Supports_unnamed_objc_bitfields (); in ParseChildMembers()
2038 …nt64_t parent_byte_size = parent_die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_byte_size,… in ParseChildMembers()
2126 dwarf_cu, in ParseChildMembers()
2150 … case DW_AT_type: encoding_uid = form_value.Reference(dwarf_cu); break; in ParseChildMembers()
2373 DWARFCompileUnit *dwarf_cu = debug_info->GetCompileUnitContainingDIE (die->GetOffset()).get(); in ResolveClangOpaqueTypeDefinition() local
2430 SymbolContext sc(GetCompUnitForDWARFCompUnit(dwarf_cu)); in ResolveClangOpaqueTypeDefinition()
2439 dwarf_cu, in ResolveClangOpaqueTypeDefinition()
2457 ResolveType(dwarf_cu, member_function_dies.GetDIEPtrAtIndex(i)); in ResolveClangOpaqueTypeDefinition()
2563 … layout_info.bit_size = die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_byte_size, 0) * 8; in ResolveClangOpaqueTypeDefinition()
2630 SymbolContext sc(GetCompUnitForDWARFCompUnit(dwarf_cu)); in ResolveClangOpaqueTypeDefinition()
2633 ParseChildEnumerators(sc, clang_type, is_signed, type->GetByteSize(), dwarf_cu, die); in ResolveClangOpaqueTypeDefinition()
2646 SymbolFileDWARF::ResolveType (DWARFCompileUnit* dwarf_cu, const DWARFDebugInfoEntry* type_die, bool… in ResolveType() argument
2653 type = GetTypeForDIE (dwarf_cu, type_die).get(); in ResolveType()
2663 type_die->GetName(this, dwarf_cu)); in ResolveType()
2673 SymbolFileDWARF::GetCompUnitForDWARFCompUnit (DWARFCompileUnit* dwarf_cu, uint32_t cu_idx) in GetCompUnitForDWARFCompUnit() argument
2676 if (dwarf_cu->GetUserData() == NULL) in GetCompUnitForDWARFCompUnit()
2680 return ParseCompileUnit(dwarf_cu, cu_idx).get(); in GetCompUnitForDWARFCompUnit()
2682 return (CompileUnit*)dwarf_cu->GetUserData(); in GetCompUnitForDWARFCompUnit()
2686 SymbolFileDWARF::GetFunction (DWARFCompileUnit* dwarf_cu, const DWARFDebugInfoEntry* func_die, Symb… in GetFunction() argument
2690 sc.comp_unit = GetCompUnitForDWARFCompUnit(dwarf_cu, UINT32_MAX); in GetFunction()
2694 sc.function = ParseCompileUnitFunction(sc, dwarf_cu, func_die); in GetFunction()
2728 DWARFCompileUnit* dwarf_cu = debug_info->GetCompileUnit(cu_offset, &cu_idx).get(); in ResolveSymbolContext() local
2729 if (dwarf_cu) in ResolveSymbolContext()
2731 sc.comp_unit = GetCompUnitForDWARFCompUnit(dwarf_cu, cu_idx); in ResolveSymbolContext()
2743 dwarf_cu->LookupAddress(file_vm_addr, &function_die, &block_die); in ResolveSymbolContext()
2747 dwarf_cu->LookupAddress(file_vm_addr, &function_die, NULL); in ResolveSymbolContext()
2754 … sc.function = ParseCompileUnitFunction(sc, dwarf_cu, function_die); in ResolveSymbolContext()
2843 DWARFCompileUnit* dwarf_cu = NULL; in ResolveSymbolContext() local
2845 … for (cu_idx = 0; (dwarf_cu = debug_info->GetCompileUnitAtIndex(cu_idx)) != NULL; ++cu_idx) in ResolveSymbolContext()
2847 CompileUnit *dc_cu = GetCompUnitForDWARFCompUnit(dwarf_cu, cu_idx); in ResolveSymbolContext()
2853 sc.comp_unit = GetCompUnitForDWARFCompUnit(dwarf_cu, cu_idx); in ResolveSymbolContext()
2895dwarf_cu->LookupAddress(file_vm_addr, &function_die, resolve_scope & eSymbolContextBlock ? &block_… in ResolveSymbolContext()
2901 … sc.function = ParseCompileUnitFunction(sc, dwarf_cu, function_die); in ResolveSymbolContext()
2962 DWARFCompileUnit* dwarf_cu = debug_info->GetCompileUnitAtIndex(cu_idx); in Index() local
2964 bool clear_dies = dwarf_cu->ExtractDIEsIfNeeded (false) > 1; in Index()
2966 dwarf_cu->Index (cu_idx, in Index()
2979 dwarf_cu->ClearDIEs (true); in Index()
3146 DWARFCompileUnit* dwarf_cu = NULL; in FindGlobalVariables() local
3152 die = debug_info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindGlobalVariables()
3167 sc.comp_unit = GetCompUnitForDWARFCompUnit(dwarf_cu, UINT32_MAX); in FindGlobalVariables()
3169 if (namespace_decl && !DIEIsInNamespace (namespace_decl, dwarf_cu, die)) in FindGlobalVariables()
3172 … ParseVariables(sc, dwarf_cu, LLDB_INVALID_ADDRESS, die, false, false, &variables); in FindGlobalVariables()
3256 DWARFCompileUnit* dwarf_cu = NULL; in FindGlobalVariables() local
3265 die = debug_info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindGlobalVariables()
3269 sc.comp_unit = GetCompUnitForDWARFCompUnit(dwarf_cu, UINT32_MAX); in FindGlobalVariables()
3271 ParseVariables(sc, dwarf_cu, LLDB_INVALID_ADDRESS, die, false, false, &variables); in FindGlobalVariables()
3294 DWARFCompileUnit *&dwarf_cu, in ResolveFunction() argument
3297 …const DWARFDebugInfoEntry *die = DebugInfo()->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in ResolveFunction()
3298 return ResolveFunction (dwarf_cu, die, sc_list); in ResolveFunction()
3404 DWARFCompileUnit* dwarf_cu = NULL; in ParseFunctions() local
3408 ResolveFunction (die_offset, dwarf_cu, sc_list); in ParseFunctions()
3415 const DWARFCompileUnit *dwarf_cu, in FunctionDieMatchesPartialName() argument
3453 die->GetAttributes(this, dwarf_cu, NULL, attributes); in FunctionDieMatchesPartialName()
3573 DWARFCompileUnit *dwarf_cu = NULL; in FindFunctions() local
3593 … const DWARFDebugInfoEntry *die = info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindFunctions()
3596 if (namespace_decl && !DIEIsInNamespace (namespace_decl, dwarf_cu, die)) in FindFunctions()
3604 if (ResolveFunction (dwarf_cu, die, sc_list)) in FindFunctions()
3628 … const DWARFDebugInfoEntry* die = info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindFunctions()
3631 const char *die_name = die->GetName(this, dwarf_cu); in FindFunctions()
3639 if (ResolveFunction (dwarf_cu, die, sc_list)) in FindFunctions()
3665 … const DWARFDebugInfoEntry* die = info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindFunctions()
3671 if (namespace_decl && !DIEIsInNamespace (namespace_decl, dwarf_cu, die)) in FindFunctions()
3676 if (ResolveFunction (dwarf_cu, die, sc_list)) in FindFunctions()
3770 DWARFCompileUnit *dwarf_cu = NULL; in FindFunctions() local
3777 … const DWARFDebugInfoEntry* die = info->GetDIEPtrWithCompileUnitHint (die_offsets[i], &dwarf_cu); in FindFunctions()
3783 if (namespace_decl && !DIEIsInNamespace (namespace_decl, dwarf_cu, die)) in FindFunctions()
3789 if (ResolveFunction (dwarf_cu, die, sc_list)) in FindFunctions()
3806 … const DWARFDebugInfoEntry* die = info->GetDIEPtrWithCompileUnitHint (die_offsets[i], &dwarf_cu); in FindFunctions()
3815 if (ResolveFunction (dwarf_cu, die, sc_list)) in FindFunctions()
3958 DWARFCompileUnit* dwarf_cu = NULL; in FindTypes() local
3964 die = debug_info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindTypes()
3968 if (namespace_decl && !DIEIsInNamespace (namespace_decl, dwarf_cu, die)) in FindTypes()
3971 Type *matching_type = ResolveType (dwarf_cu, die); in FindTypes()
4061 DWARFCompileUnit* dwarf_cu = NULL; in FindNamespace() local
4070 die = debug_info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindNamespace()
4074 … if (parent_namespace_decl && !DIEIsInNamespace (parent_namespace_decl, dwarf_cu, die)) in FindNamespace()
4077 … clang::NamespaceDecl *clang_namespace_decl = ResolveNamespaceDIE (dwarf_cu, die); in FindNamespace()
4141 DWARFCompileUnit* dwarf_cu, in ParseChildParameters() argument
4154 …const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAd… in ParseChildParameters()
4166 … const size_t num_attributes = die->GetAttributes(this, dwarf_cu, fixed_form_sizes, attributes); in ParseChildParameters()
4189 … case DW_AT_type: param_type_die_offset = form_value.Reference(dwarf_cu); break; in ParseChildParameters()
4258 … CompileUnit *comp_unit = GetCompUnitForDWARFCompUnit(dwarf_cu, UINT32_MAX); in ParseChildParameters()
4298 ParseTemplateDIE (dwarf_cu, die,template_param_infos); in ParseChildParameters()
4315 DWARFCompileUnit* dwarf_cu, in ParseChildEnumerators() argument
4324 …const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAd… in ParseChildEnumerators()
4332 …const size_t num_child_attributes = die->GetAttributes(this, dwarf_cu, fixed_form_sizes, attribute… in ParseChildEnumerators()
4391 DWARFCompileUnit* dwarf_cu, in ParseChildArrayInfo() argument
4403 …const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAd… in ParseChildArrayInfo()
4412 …const size_t num_child_attributes = die->GetAttributes(this, dwarf_cu, fixed_form_sizes, attribute… in ParseChildArrayInfo()
4484 SymbolFileDWARF::GetTypeForDIE (DWARFCompileUnit *dwarf_cu, const DWARFDebugInfoEntry* die) in GetTypeForDIE() argument
4489 assert(dwarf_cu != NULL); in GetTypeForDIE()
4493 CompileUnit* lldb_cu = GetCompUnitForDWARFCompUnit(dwarf_cu); in GetTypeForDIE()
4496 type_sp = ParseType(sc, dwarf_cu, die, NULL); in GetTypeForDIE()
4538 SymbolFileDWARF::ResolveNamespaceDIE (DWARFCompileUnit *dwarf_cu, const DWARFDebugInfoEntry *die) in ResolveNamespaceDIE() argument
4549 … const char *namespace_name = die->GetAttributeValueAsString(this, dwarf_cu, DW_AT_name, NULL); in ResolveNamespaceDIE()
4550 … clang::DeclContext *containing_decl_ctx = GetClangDeclContextContainingDIE (dwarf_cu, die, NULL); in ResolveNamespaceDIE()
4757 DWARFCompileUnit* dwarf_cu = debug_info->GetCompileUnitAtIndex(cu_idx); in Supports_DW_AT_APPLE_objc_complete_type() local
4758 if (dwarf_cu != cu && dwarf_cu->Supports_DW_AT_APPLE_objc_complete_type()) in Supports_DW_AT_APPLE_objc_complete_type()
4844 MakeUserID(dwarf_cu->GetOffset()), in FindCompleteObjCDefinitionTypeForDIE()
5120 MakeUserID(dwarf_cu->GetOffset()), in FindDefinitionTypeForDIE()
5612 SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, const DWARFDebugIn… in ParseType() argument
5631 … clang::DeclContext *context = GetClangDeclContextContainingDIE (dwarf_cu, die, &context_die); in ParseType()
5638 die->GetName(this, dwarf_cu)); in ParseType()
5641 scoped_die_logger.Push (dwarf_cu, die); in ParseType()
5693 … const size_t num_attributes = die->GetAttributes(this, dwarf_cu, NULL, attributes); in ParseType()
5726 … case DW_AT_type: encoding_uid = form_value.Reference(dwarf_cu); break; in ParseType()
5786 … die->GetName(this, dwarf_cu)); in ParseType()
5799 … die->GetName(this, dwarf_cu)); in ParseType()
5811 … die->GetName(this, dwarf_cu)); in ParseType()
5822 … DWARFDebugInfoEntry* encoding_die = dwarf_cu->GetDIEPtr(encoding_uid); in ParseType()
5826 …const char *struct_name = encoding_die->GetAttributeValueAsString(this, dwarf_cu, DW_AT_name, NULL… in ParseType()
5834 … die->GetName(this, dwarf_cu)); in ParseType()
5881 … const size_t num_attributes = die->GetAttributes(this, dwarf_cu, NULL, attributes); in ParseType()
5894 if (dwarf_cu->DW_AT_decl_file_attributes_are_invalid()) in ParseType()
5959 dwarf_cu, in ParseType()
6019 … if (!is_complete_objc_class && Supports_DW_AT_APPLE_objc_complete_type(dwarf_cu)) in ParseType()
6077 die->GetDWARFDeclContext(this, dwarf_cu, die_decl_ctx); in ParseType()
6117 … clang::DeclContext *decl_ctx = GetClangDeclContextContainingDIE (dwarf_cu, die, &decl_ctx_die); in ParseType()
6129 metadata.SetIsDynamicCXXType(ClassOrStructIsVirtual (dwarf_cu, die)); in ParseType()
6134 if (ParseTemplateParameterInfos (dwarf_cu, die, template_param_infos)) in ParseType()
6189 unique_ast_entry.m_cu = dwarf_cu; in ParseType()
6258 … const size_t num_attributes = die->GetAttributes(this, dwarf_cu, NULL, attributes); in ParseType()
6278 … case DW_AT_type: encoding_uid = form_value.Reference(dwarf_cu); break; in ParseType()
6317 … GetClangDeclContextContainingDIE (dwarf_cu, die, NULL), in ParseType()
6342 SymbolContext cu_sc(GetCompUnitForDWARFCompUnit(dwarf_cu)); in ParseType()
6345 … ParseChildEnumerators(cu_sc, clang_type, is_signed, type_sp->GetByteSize(), dwarf_cu, die); in ParseType()
6375 … const size_t num_attributes = die->GetAttributes(this, dwarf_cu, NULL, attributes); in ParseType()
6397 … case DW_AT_type: type_die_offset = form_value.Reference(dwarf_cu); break; in ParseType()
6417 specification_die_offset = form_value.Reference(dwarf_cu); in ParseType()
6421 abstract_origin_die_offset = form_value.Reference(dwarf_cu); in ParseType()
6425 object_pointer_die_offset = form_value.Reference(dwarf_cu); in ParseType()
6462 … if (DWARFDebugInfoEntry::GetName (this, dwarf_cu, object_pointer_die_offset, s)) in ParseType()
6488 …g::DeclContext *containing_decl_ctx = GetClangDeclContextContainingDIE (dwarf_cu, die, &decl_ctx_d… in ParseType()
6503 dwarf_cu, in ParseType()
6578 Type *class_type = ResolveType (dwarf_cu, decl_ctx_die); in ParseType()
6609 dwarf_cu, in ParseType()
6638 … clang::DeclContext *spec_clang_decl_ctx = GetClangDeclContextForDIE (sc, dwarf_cu, spec_die); in ParseType()
6661 … clang::DeclContext *abs_clang_decl_ctx = GetClangDeclContextForDIE (sc, dwarf_cu, abs_die); in ParseType()
6844 … const size_t num_attributes = die->GetAttributes(this, dwarf_cu, NULL, attributes); in ParseType()
6865 … case DW_AT_type: type_die_offset = form_value.Reference(dwarf_cu); break; in ParseType()
6894 … ParseChildArrayInfo(sc, dwarf_cu, die, first_index, element_orders, byte_stride, bit_stride); in ParseType()
6933 … const size_t num_attributes = die->GetAttributes(this, dwarf_cu, NULL, attributes); in ParseType()
6946 type_die_offset = form_value.Reference(dwarf_cu); break; in ParseType()
6948 … containing_type_die_offset = form_value.Reference(dwarf_cu); break; in ParseType()
7025 DWARFCompileUnit* dwarf_cu, in ParseTypes() argument
7035 if (ParseType(sc, dwarf_cu, die, &type_is_new).get()) in ParseTypes()
7047 types_added += ParseTypes(child_sc, dwarf_cu, die->GetFirstChild(), true, true); in ParseTypes()
7050 types_added += ParseTypes(sc, dwarf_cu, die->GetFirstChild(), true, true); in ParseTypes()
7067 DWARFCompileUnit* dwarf_cu = GetDWARFCompileUnit(sc.comp_unit); in ParseFunctionBlocks() local
7068 if (dwarf_cu) in ParseFunctionBlocks()
7071 const DWARFDebugInfoEntry *function_die = dwarf_cu->GetDIEPtr(function_die_offset); in ParseFunctionBlocks()
7074 …ParseFunctionBlocks(sc, &sc.function->GetBlock (false), dwarf_cu, function_die, LLDB_INVALID_ADDRE… in ParseFunctionBlocks()
7088 DWARFCompileUnit* dwarf_cu = GetDWARFCompileUnit(sc.comp_unit); in ParseTypes() local
7089 if (dwarf_cu) in ParseTypes()
7094 const DWARFDebugInfoEntry *func_die = dwarf_cu->GetDIEPtr(function_die_offset); in ParseTypes()
7097 types_added = ParseTypes(sc, dwarf_cu, func_die->GetFirstChild(), true, true); in ParseTypes()
7102 const DWARFDebugInfoEntry *dwarf_cu_die = dwarf_cu->DIE(); in ParseTypes()
7105 types_added = ParseTypes(sc, dwarf_cu, dwarf_cu_die->GetFirstChild(), true, true); in ParseTypes()
7124 … DWARFCompileUnit* dwarf_cu = info->GetCompileUnitContainingDIE(sc.function->GetID()).get(); in ParseVariablesForContext() local
7126 if (dwarf_cu == NULL) in ParseVariablesForContext()
7129 const DWARFDebugInfoEntry *function_die = dwarf_cu->GetDIEPtr(sc.function->GetID()); in ParseVariablesForContext()
7131 …dw_addr_t func_lo_pc = function_die->GetAttributeValueAsUnsigned (this, dwarf_cu, DW_AT_low_pc, LL… in ParseVariablesForContext()
7134 …const size_t num_variables = ParseVariables(sc, dwarf_cu, func_lo_pc, function_die->GetFirstChild(… in ParseVariablesForContext()
7143 DWARFCompileUnit* dwarf_cu = info->GetCompileUnit(sc.comp_unit->GetID()).get(); in ParseVariablesForContext() local
7145 if (dwarf_cu == NULL) in ParseVariablesForContext()
7164 if (m_apple_names_ap->AppendAllDIEsInRange (dwarf_cu->GetOffset(), in ParseVariablesForContext()
7165dwarf_cu->GetNextCompileUnitOffset(), in ParseVariablesForContext()
7179 m_global_index.FindAllEntriesForCompileUnit (dwarf_cu->GetOffset(), in ParseVariablesForContext()
7180dwarf_cu->GetNextCompileUnitOffset(), in ParseVariablesForContext()
7194 … VariableSP var_sp (ParseVariableDIE(sc, dwarf_cu, die, LLDB_INVALID_ADDRESS)); in ParseVariablesForContext()
7223 DWARFCompileUnit* dwarf_cu, in ParseVariableDIE() argument
7240 const size_t num_attributes = die->GetAttributes(this, dwarf_cu, NULL, attributes); in ParseVariableDIE()
7269 case DW_AT_type: type_uid = form_value.Reference(dwarf_cu); break; in ParseVariableDIE()
7288 …_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAddressByteSi… in ParseVariableDIE()
7298 …_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAddressByteSi… in ParseVariableDIE()
7335 … location.SetLocationListSlide (func_low_pc - dwarf_cu->GetBaseAddress()); in ParseVariableDIE()
7555 SymbolFileDWARF::FindBlockContainingSpecification(DWARFCompileUnit* dwarf_cu, in FindBlockContainingSpecification() argument
7568 …if (die->GetAttributeValueAsReference (this, dwarf_cu, DW_AT_specification, DW_INVALID_OFFSET) == … in FindBlockContainingSpecification()
7570 *result_die_cu_handle = dwarf_cu; in FindBlockContainingSpecification()
7574 …if (die->GetAttributeValueAsReference (this, dwarf_cu, DW_AT_abstract_origin, DW_INVALID_OFFSET) =… in FindBlockContainingSpecification()
7576 *result_die_cu_handle = dwarf_cu; in FindBlockContainingSpecification()
7588 const DWARFDebugInfoEntry *result_die = FindBlockContainingSpecification (dwarf_cu, in FindBlockContainingSpecification()
7605 DWARFCompileUnit* dwarf_cu, in ParseVariables() argument
7677 DWARFCompileUnit *concrete_block_die_cu = dwarf_cu; in ParseVariables()
7708 VariableSP var_sp (ParseVariableDIE(sc, dwarf_cu, die, func_low_pc)); in ParseVariables()
7724 …vars_added += ParseVariables(sc, dwarf_cu, func_low_pc, die->GetFirstChild(), true, true, cc_varia… in ParseVariables()
7807 DWARFCompileUnit* dwarf_cu = NULL; in SearchDeclContext() local
7830 die = info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in SearchDeclContext()
7835 Type *matching_type = ResolveType (dwarf_cu, die); in SearchDeclContext()