Home
last modified time | relevance | path

Searched refs:die_offset (Results 1 – 23 of 23) sorted by relevance

/external/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugInfo.cpp241 DWARFDebugInfo::GetCompileUnitContainingDIE(dw_offset_t die_offset) in GetCompileUnitContainingDIE() argument
244 if (die_offset != DW_INVALID_OFFSET) in GetCompileUnitContainingDIE()
255 if (cu_start_offset <= die_offset && die_offset < cu_end_offset) in GetCompileUnitContainingDIE()
280 DWARFDebugInfo::GetDIEPtr(dw_offset_t die_offset, DWARFCompileUnitSP* cu_sp_ptr) in GetDIEPtr() argument
282 DWARFCompileUnitSP cu_sp(GetCompileUnitContainingDIE(die_offset)); in GetDIEPtr()
286 return cu_sp->GetDIEPtr(die_offset); in GetDIEPtr()
291 DWARFDebugInfo::GetDIEPtrWithCompileUnitHint (dw_offset_t die_offset, DWARFCompileUnit**cu_handle) in GetDIEPtrWithCompileUnitHint() argument
296 die = (*cu_handle)->GetDIEPtr(die_offset); in GetDIEPtrWithCompileUnitHint()
300 DWARFCompileUnitSP cu_sp (GetCompileUnitContainingDIE(die_offset)); in GetDIEPtrWithCompileUnitHint()
304 die = cu_sp->GetDIEPtr(die_offset); in GetDIEPtrWithCompileUnitHint()
[all …]
DNameToDIE.cpp33 NameToDIE::Insert (const ConstString& name, uint32_t die_offset) in Insert() argument
35 m_map.Append(name.GetCString(), die_offset); in Insert()
59 const uint32_t die_offset = m_map.GetValueAtIndexUnchecked(i); in FindAllEntriesForCompileUnit() local
60 if (cu_offset < die_offset && die_offset < cu_end_offset) in FindAllEntriesForCompileUnit()
61 info_array.push_back (die_offset); in FindAllEntriesForCompileUnit()
78 NameToDIE::ForEach (std::function <bool(const char *name, uint32_t die_offset)> const &callback) co… in ForEach()
DDWARFDebugPubnamesSet.cpp35 m_header.die_offset = cu_die_offset;// compile unit .debug_info offset in DWARFDebugPubnamesSet()
57 m_header.die_offset = DW_INVALID_OFFSET; in Clear()
89 m_header.die_offset = data.GetU32(offset_ptr); in Extract()
127 m_header.die_offset, in Dump()
137 …%8.8x + 0x%8.8x = 0x%8.8x: %s", pos->offset, m_header.die_offset, pos->offset + m_header.die_offse… in Dump()
139 log->Printf("0x%8.8x: %s", pos->offset + m_header.die_offset, pos->name.c_str()); in Dump()
152 die_offset_coll.push_back(m_header.die_offset + m_descriptors[(*pos).second].offset); in Find()
163 die_offset_coll.push_back(m_header.die_offset + pos->offset); in Find()
DDWARFDebugInfo.h52 DWARFCompileUnitSP GetCompileUnitContainingDIE(dw_offset_t die_offset);
54 DWARFDebugInfoEntry* GetDIEPtr(dw_offset_t die_offset, DWARFCompileUnitSP* cu_sp_ptr);
55 …DWARFDebugInfoEntry* GetDIEPtrWithCompileUnitHint (dw_offset_t die_offset, DWARFCompileUnit**cu_ha…
57 …const DWARFDebugInfoEntry* GetDIEPtrContainingOffset(dw_offset_t die_offset, DWARFCompileUnitSP* c…
59 void Dump(lldb_private::Stream *s, const uint32_t die_offset, const uint32_t recurse_depth);
62 …p(lldb_private::Stream *s, SymbolFileDWARF* dwarf2Data, const uint32_t die_offset, const uint32_t …
DDWARFCompileUnit.h46 …l ContainsDIEOffset(dw_offset_t die_offset) const { return die_offset >= GetFirstDIEOffset(… in ContainsDIEOffset() argument
115 GetDIEPtr (dw_offset_t die_offset);
118 GetDIEPtrContainingOffset (dw_offset_t die_offset);
DDWARFDebugInfoEntry.cpp935 dw_offset_t die_offset = *pos; in GetDIENamesAndRanges() local
936 if (die_offset != DW_INVALID_OFFSET) in GetDIENamesAndRanges()
938 die = dwarf2Data->DebugInfo()->GetDIEPtr(die_offset, &cu_sp_ptr); in GetDIENamesAndRanges()
1264 dw_offset_t die_offset = form_value.Reference(cu); in GetAttributes() local
1265 if (cu->ContainsDIEOffset(die_offset)) in GetAttributes()
1267 die = const_cast<DWARFCompileUnit*>(cu)->GetDIEPtr(die_offset); in GetAttributes()
1274 … die = const_cast<SymbolFileDWARF*>(dwarf2Data)->DebugInfo()->GetDIEPtr(die_offset, &cu_sp_ptr); in GetAttributes()
1650 const dw_offset_t die_offset, in GetName() argument
1661 lldb::offset_t offset = die_offset; in GetName()
1699 const dw_offset_t die_offset, in AppendTypeName() argument
[all …]
DNameToDIE.h39 Insert (const lldb_private::ConstString& name, uint32_t die_offset);
58 ForEach (std::function <bool(const char *name, uint32_t die_offset)> const &callback) const;
DDWARFFormValue.cpp393 uint64_t die_offset = m_value.value.uval; in Reference() local
401 die_offset += (cu ? cu->GetOffset() : 0); in Reference()
408 return die_offset; in Reference()
414 uint64_t die_offset = m_value.value.uval; in Reference() local
422 die_offset += base_offset; in Reference()
429 return die_offset; in Reference()
DSymbolFileDWARF.cpp250 const dw_offset_t die_offset = die->GetOffset(); in GetTypes() local
252 if (die_offset >= max_die_offset) in GetTypes()
255 if (die_offset >= min_die_offset) in GetTypes()
2490 const dw_offset_t die_offset = method_die_offsets[i]; in ResolveClangOpaqueTypeDefinition() local
2491 …WARFDebugInfoEntry *method_die = debug_info->GetDIEPtrWithCompileUnitHint (die_offset, &method_cu); in ResolveClangOpaqueTypeDefinition()
2500die_offset, class_str.c_str()); in ResolveClangOpaqueTypeDefinition()
3151 const dw_offset_t die_offset = die_offsets[i]; in FindGlobalVariables() local
3152 die = debug_info->GetDIEPtrWithCompileUnitHint (die_offset, &dwarf_cu); in FindGlobalVariables()
3185die_offset, name.GetCString()); in FindGlobalVariables()
3264 const dw_offset_t die_offset = die_offsets[i]; in FindGlobalVariables() local
[all …]
DDWARFCompileUnit.cpp513 DWARFCompileUnit::GetDIEPtr(dw_offset_t die_offset) in GetDIEPtr() argument
515 if (die_offset != DW_INVALID_OFFSET) in GetDIEPtr()
519 compare_die.SetOffset(die_offset); in GetDIEPtr()
524 if (die_offset == (*pos).GetOffset()) in GetDIEPtr()
538 DWARFCompileUnit::GetDIEPtrContainingOffset(dw_offset_t die_offset) in GetDIEPtrContainingOffset() argument
540 if (die_offset != DW_INVALID_OFFSET) in GetDIEPtrContainingOffset()
544 compare_die.SetOffset(die_offset); in GetDIEPtrContainingOffset()
549 if (die_offset >= (*pos).GetOffset()) in GetDIEPtrContainingOffset()
554 if (die_offset < (*next).GetOffset()) in GetDIEPtrContainingOffset()
DDWARFDebugPubnamesSet.h29 uint32_t die_offset; // compile unit .debug_info offset member
34 die_offset(DW_INVALID_OFFSET), in Header()
DDWARFDebugInfoEntry.h68 dw_offset_t DIEOffsetAtIndex(uint32_t i) const { return m_infos[i].die_offset; } in DIEOffsetAtIndex()
84 dw_offset_t die_offset; member
236 const dw_offset_t die_offset,
242 const dw_offset_t die_offset,
DSymbolFileDWARF.h247 GetClangDeclContextForDIEOffset (const lldb_private::SymbolContext &sc, dw_offset_t die_offset);
255 GetClangDeclContextContainingDIEOffset (dw_offset_t die_offset);
496 MakeUserID (dw_offset_t die_offset) const in MakeUserID() argument
498 return GetID() | die_offset; in MakeUserID()
/external/elfutils/src/libdw/
Ddwarf_getpubnames.c205 gl.die_offset = read_4ubyte_unaligned_inc (dbg, readp);
207 gl.die_offset = read_8ubyte_unaligned_inc (dbg, readp);
210 if (gl.die_offset == 0)
214 gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
Dlibdw.h158 Dwarf_Off die_offset; member
DChangeLog467 and die_offset.
/external/elfutils/src/tests/
Dget-pubnames.c37 globcnt++, gl->name, (unsigned long long int) gl->die_offset, in callback()
53 if (dwarf_offdie (dbg, gl->die_offset, &die) == NULL in callback()
/external/lldb/include/lldb/Core/
DMappedHash.h274 const uint32_t die_offset = m_entries[i].die_offset; in Save() local
275 hash_buckets[bucket_idx][hash][strp_offset].push_back(die_offset); in Save()
/external/valgrind/coregrind/m_debuginfo/
Dreaddwarf.c1311 Int die_offset, die_szb, at_offset;
1321 die_offset = 0;
1323 if (die_offset >= dwarf1d_sz) break;
1325 die_szb = ML_(read_Int)(dwarf1d + die_offset);
1326 die_kind = ML_(read_UShort)(dwarf1d + die_offset + 4);
1330 die_offset += die_szb;
1336 die_offset, (Int)die_kind, die_szb );
1349 at_base = dwarf1d + die_offset + 6;
1441 die_offset += die_szb;
/external/elfutils/include/elfutils/
Dlibdw.h158 Dwarf_Off die_offset; member
/external/elfutils/src/src/
Dnm.c1276 Dwarf_Die *die = dwarf_offdie (dbg, (*found)->die_offset, in show_symbols()
Dreadelf.c7590 (*np)++, global->die_offset, global->cu_offset, global->name); in print_pubnames()
/external/linux-tools-perf/src/tools/perf/util/
Dprobe-finder.c1030 if (dwarf_offdie(dbg, gl->die_offset, param->sp_die)) { in pubname_search_cb()