Searched refs:die_offset (Results 1 - 21 of 21) sorted by relevance

/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DNameToDIE.cpp33 NameToDIE::Insert (const ConstString& name, uint32_t die_offset) argument
35 m_map.Append(name.GetCString(), die_offset);
59 const uint32_t die_offset = m_map.GetValueAtIndexUnchecked(i); local
60 if (cu_offset < die_offset && die_offset < cu_end_offset)
61 info_array.push_back (die_offset);
78 NameToDIE::ForEach (std::function <bool(const char *name, uint32_t die_offset)> const &callback) const
H A 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_handle);
57 const DWARFDebugInfoEntry* GetDIEPtrContainingOffset(dw_offset_t die_offset, DWARFCompileUnitSP* cu_sp_ptr);
59 void Dump(lldb_private::Stream *s, const uint32_t die_offset, const uint32_t recurse_depth);
62 static void Dump(lldb_private::Stream *s, SymbolFileDWARF* dwarf2Data, const uint32_t die_offset, const uint32_t recurse_depth);
H A DDWARFDebugPubnamesSet.cpp35 m_header.die_offset = cu_die_offset;// compile unit .debug_info offset
57 m_header.die_offset = DW_INVALID_OFFSET;
89 m_header.die_offset = data.GetU32(offset_ptr);
124 log->Printf("Pubnames Header: length = 0x%8.8x, version = 0x%4.4x, die_offset = 0x%8.8x, die_length = 0x%8.8x",
127 m_header.die_offset,
137 log->Printf("0x%8.8x + 0x%8.8x = 0x%8.8x: %s", pos->offset, m_header.die_offset, pos->offset + m_header.die_offset, pos->name.c_str());
139 log->Printf("0x%8.8x: %s", pos->offset + m_header.die_offset, pos->name.c_str());
152 die_offset_coll.push_back(m_header.die_offset + m_descriptors[(*pos).second].offset);
163 die_offset_coll.push_back(m_header.die_offset
[all...]
H A 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;
H A DDWARFDebugInfo.cpp241 DWARFDebugInfo::GetCompileUnitContainingDIE(dw_offset_t die_offset) argument
244 if (die_offset != DW_INVALID_OFFSET)
255 if (cu_start_offset <= die_offset && die_offset < cu_end_offset)
280 DWARFDebugInfo::GetDIEPtr(dw_offset_t die_offset, DWARFCompileUnitSP* cu_sp_ptr) argument
282 DWARFCompileUnitSP cu_sp(GetCompileUnitContainingDIE(die_offset));
286 return cu_sp->GetDIEPtr(die_offset);
291 DWARFDebugInfo::GetDIEPtrWithCompileUnitHint (dw_offset_t die_offset, DWARFCompileUnit**cu_handle) argument
296 die = (*cu_handle)->GetDIEPtr(die_offset);
300 DWARFCompileUnitSP cu_sp (GetCompileUnitContainingDIE(die_offset));
314 GetDIEPtrContainingOffset(dw_offset_t die_offset, DWARFCompileUnitSP* cu_sp_ptr) argument
465 const uint32_t die_offset; member in struct:DumpInfo
650 Dump( Stream *s, SymbolFileDWARF* dwarf2Data, const uint32_t die_offset, const uint32_t recurse_depth ) argument
688 Dump(Stream *s, const uint32_t die_offset, const uint32_t recurse_depth) argument
[all...]
H A DDWARFCompileUnit.h46 bool ContainsDIEOffset(dw_offset_t die_offset) const { return die_offset >= GetFirstDIEOffset() && die_offset < GetNextCompileUnitOffset(); }
115 GetDIEPtr (dw_offset_t die_offset);
118 GetDIEPtrContainingOffset (dw_offset_t die_offset);
H A DDWARFDebugPubnamesSet.h29 uint32_t die_offset; // compile unit .debug_info offset member in struct:DWARFDebugPubnamesSet::Header
34 die_offset(DW_INVALID_OFFSET),
H A DDWARFFormValue.cpp393 uint64_t die_offset = m_value.value.uval; local
401 die_offset += (cu ? cu->GetOffset() : 0);
408 return die_offset;
414 uint64_t die_offset = m_value.value.uval; local
422 die_offset += base_offset;
429 return die_offset;
H A DDWARFDebugInfoEntry.h68 dw_offset_t DIEOffsetAtIndex(uint32_t i) const { return m_infos[i].die_offset; }
84 dw_offset_t die_offset; member in struct:DWARFDebugInfoEntry::Attributes::Info
236 const dw_offset_t die_offset,
242 const dw_offset_t die_offset,
H A DDWARFDebugInfoEntry.cpp935 dw_offset_t die_offset = *pos;
936 if (die_offset != DW_INVALID_OFFSET)
938 die = dwarf2Data->DebugInfo()->GetDIEPtr(die_offset, &cu_sp_ptr);
1264 dw_offset_t die_offset = form_value.Reference(cu);
1265 if (cu->ContainsDIEOffset(die_offset))
1267 die = const_cast<DWARFCompileUnit*>(cu)->GetDIEPtr(die_offset);
1274 die = const_cast<SymbolFileDWARF*>(dwarf2Data)->DebugInfo()->GetDIEPtr(die_offset, &cu_sp_ptr);
1640 // that exists at offset "die_offset" and place that value into the
1650 const dw_offset_t die_offset,
1661 lldb::offset_t offset = die_offset;
[all...]
H A DDWARFCompileUnit.cpp513 DWARFCompileUnit::GetDIEPtr(dw_offset_t die_offset) argument
515 if (die_offset != DW_INVALID_OFFSET)
519 compare_die.SetOffset(die_offset);
524 if (die_offset == (*pos).GetOffset())
538 DWARFCompileUnit::GetDIEPtrContainingOffset(dw_offset_t die_offset) argument
540 if (die_offset != DW_INVALID_OFFSET)
544 compare_die.SetOffset(die_offset);
549 if (die_offset >= (*pos).GetOffset())
554 if (die_offset < (*next).GetOffset())
H A DSymbolFileDWARF.cpp250 const dw_offset_t die_offset = die->GetOffset(); local
252 if (die_offset >= max_die_offset)
255 if (die_offset >= min_die_offset)
385 // m_type_index.ForEach([this, &type_set, type_mask](const char *name, uint32_t die_offset) -> bool {
391 // const DWARFDebugInfoEntry *die = DebugInfo()->GetDIEPtr(die_offset, NULL);
401 // Type *type = ResolveTypeUID(die_offset);
2490 const dw_offset_t die_offset = method_die_offsets[i]; local
2491 DWARFDebugInfoEntry *method_die = debug_info->GetDIEPtrWithCompileUnitHint (die_offset, &method_cu);
2500 die_offset, class_str.c_str());
3151 const dw_offset_t die_offset local
3264 const dw_offset_t die_offset = die_offsets[i]; local
3293 ResolveFunction(dw_offset_t die_offset, DWARFCompileUnit *&dwarf_cu, SymbolContextList& sc_list) argument
3407 const dw_offset_t die_offset = die_offsets[i]; local
3592 const dw_offset_t die_offset = die_offsets[i]; local
3627 const dw_offset_t die_offset = die_offsets[i]; local
3664 const dw_offset_t die_offset = die_offsets[i]; local
3963 const dw_offset_t die_offset = die_offsets[i]; local
4069 const dw_offset_t die_offset = die_offsets[i]; local
4509 GetClangDeclContextContainingDIEOffset(dw_offset_t die_offset) argument
4521 GetClangDeclContextForDIEOffset(const SymbolContext &sc, dw_offset_t die_offset) argument
4693 dw_offset_t die_offset = die->GetAttributeValueAsReference(this, cu, DW_AT_specification, DW_INVALID_OFFSET); local
4811 const dw_offset_t die_offset = die_offsets[i]; local
5057 const dw_offset_t die_offset = die_offsets[i]; local
5228 const dw_offset_t die_offset = die_offsets[i]; local
7190 const dw_offset_t die_offset = die_offsets[i]; local
7829 const dw_offset_t die_offset = die_offsets[i]; local
[all...]
H A DSymbolFileDWARF.h247 GetClangDeclContextForDIEOffset (const lldb_private::SymbolContext &sc, dw_offset_t die_offset);
255 GetClangDeclContextContainingDIEOffset (dw_offset_t die_offset);
390 // Given a die_offset, figure out the symbol context representing that die.
496 MakeUserID (dw_offset_t die_offset) const
498 return GetID() | die_offset;
/external/elfutils/tests/
H A Dget-pubnames.c37 globcnt++, gl->name, (unsigned long long int) gl->die_offset,
53 if (dwarf_offdie (dbg, gl->die_offset, &die) == NULL
/external/elfutils/libdw/
H A Ddwarf_getpubnames.c204 gl.die_offset = read_4ubyte_unaligned_inc (dbg, readp);
206 gl.die_offset = read_8ubyte_unaligned_inc (dbg, readp);
209 if (gl.die_offset == 0)
213 gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
H A Dlibdw.h158 Dwarf_Off die_offset; member in struct:__anon5671
/external/lldb/include/lldb/Core/
H A DMappedHash.h274 const uint32_t die_offset = m_entries[i].die_offset; local
275 hash_buckets[bucket_idx][hash][strp_offset].push_back(die_offset);
/external/valgrind/coregrind/m_debuginfo/
H A Dreaddwarf.c1314 Int die_offset, die_szb, at_offset;
1324 die_offset = 0;
1326 if (die_offset >= dwarf1d_sz) break;
1328 die_szb = ML_(read_Int)(dwarf1d + die_offset);
1329 die_kind = ML_(read_UShort)(dwarf1d + die_offset + 4);
1333 die_offset += die_szb;
1339 die_offset, (Int)die_kind, die_szb );
1342 die_offset+6). Try and find the AT_name and AT_stmt_list
1352 at_base = dwarf1d + die_offset + 6;
1444 die_offset
[all...]
/external/elfutils/include/elfutils/
H A Dlibdw.h158 Dwarf_Off die_offset; member in struct:__anon5618
/external/elfutils/src/
H A Dnm.c1376 Dwarf_Die *die = dwarf_offdie (dbg, (*found)->die_offset,
H A Dreadelf.c7697 (*np)++, global->die_offset, global->cu_offset, global->name);

Completed in 239 milliseconds