Searched refs:cu (Results 26 - 50 of 131) sorted by relevance

123456

/external/elfutils/0.153/libdwfl/
H A Ddwfl_lineinfo.c60 struct dwfl_cu *cu = dwfl_linecu (line); local
61 const Dwarf_Line *info = &cu->die.cu->lines->info[line->idx];
64 *addr = dwfl_adjusted_dwarf_addr (cu->mod, info->addr);
H A Ddwfl_module_getsrc_file.c76 struct dwfl_cu *cu = NULL; local
78 while ((error = __libdwfl_nextcu (mod, cu, &cu)) == DWFL_E_NOERROR
79 && cu != NULL
80 && (error = __libdwfl_cu_getsrclines (cu)) == DWFL_E_NOERROR)
88 return &dwfl_linecu (line)->die.cu->lines->info[line->idx];
100 for (size_t cnt = 0; cnt < cu->die.cu->lines->nlines; ++cnt)
102 Dwarf_Line *line = &cu->die.cu
[all...]
/external/elfutils/0.153/libdw/
H A Ddwarf_attr.c72 result->cu = die->cu;
H A Ddwarf_formudata.c66 const Elf_Data *d = attr->cu->dbg->sectiondata[sec_index];
76 if (__libdw_read_offset (attr->cu->dbg, cu_sec_idx (attr->cu), attr->valp,
77 attr->cu->offset_size, &offset, sec_index, 0))
80 else if (attr->cu->version > 3)
87 if (__libdw_read_offset (attr->cu->dbg, cu_sec_idx (attr->cu),
132 *return_uval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
143 || (attr->cu->version < 4 && attr->code != DW_AT_start_scope))
197 if (__libdw_read_address (attr->cu
[all...]
H A Ddwarf_getattrs.c76 die->abbrev = __libdw_findabbrev (die->cu, u128);
90 Dwarf *dbg = die->cu->dbg;
121 attr.cu = die->cu;
134 size_t len = __libdw_form_val_len (dbg, die->cu, attr.form,
H A Ddwarf_formref.c78 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
82 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
86 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
H A Ddwarf_formsdata.c76 *return_sval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
80 *return_sval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
84 *return_sval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
H A Ddwarf_getscopes_die.c89 struct Dwarf_Die_Chain cu = { .die = CUDIE (die->cu), .parent = NULL }; local
91 int result = __libdw_visit_scopes (1, &cu, &scope_visitor, NULL, &info);
H A Ddwarf_child.c67 Dwarf *dbg = die->cu->dbg;
79 abbrevp = __libdw_findabbrev (die->cu, abbrev_code);
128 size_t len = __libdw_form_val_len (dbg, die->cu, attr_form, readp);
179 struct Dwarf_CU *cu = die->cu; local
180 Elf_Data *cu_sec = cu_data (cu);
207 result->cu = cu;
H A Ddwarf_getlocation_implicit_pointer.c74 if (__libdw_offdie (attr->cu->dbg, op->number, &die,
75 attr->cu->type_offset != 0) == NULL)
H A Ddwarf_dieoffset.c65 : (Dwarf_Off) (die->addr - cu_data (die->cu)->d_buf));
H A Ddwarf_formblock.c77 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
82 return_block->length = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
98 if (unlikely (cu_data (attr->cu)->d_size
100 - (unsigned char *) cu_data (attr->cu)->d_buf)
H A Ddwarf_ranges.c126 const Elf_Data *d = die->cu->dbg->sectiondata[IDX_debug_ranges];
154 Dwarf_Die cudie = CUDIE (attr->cu);
177 if (__libdw_offset_in_section (die->cu->dbg,
186 if (readendp - readp < die->cu->address_size * 2)
192 switch (__libdw_read_begin_end_pair_inc (die->cu->dbg, IDX_debug_ranges,
193 &readp, die->cu->address_size,
H A Ddwarf_getlocation.c139 struct loc_block_s **found = tfind (&fake, &attr->cu->locs, loc_compare);
177 struct loc_s **found = tfind (&fake, &attr->cu->locs, loc_compare);
185 Dwarf_Op *result = libdw_alloc (attr->cu->dbg,
194 struct loc_s *newp = libdw_alloc (attr->cu->dbg,
201 found = tsearch (newp, &attr->cu->locs, loc_compare);
530 getlocation (struct Dwarf_CU *cu, const Dwarf_Block *block, argument
533 return __libdw_intern_expression (cu->dbg, cu->dbg->other_byte_order,
534 cu->address_size, (cu
[all...]
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.cpp64 DWARFDebugInfoEntry::Attributes::Append(const DWARFCompileUnit *cu, dw_offset_t attr_die_offset, dw_attr_t attr, dw_form_t form) argument
66 Info info = { cu, attr_die_offset, attr, form };
120 const DWARFCompileUnit* cu,
139 const DWARFAbbreviationDeclaration *abbrevDecl = cu->GetAbbreviations()->GetAbbreviationDeclaration(m_abbr_idx);
143 cu->GetSymbolFileDWARF()->GetObjectFile()->GetModule()->ReportError ("{0x%8.8x}: invalid abbreviation code %u, please file a bug and attach the file at the start of this error message",
187 form_size = cu->GetAddressByteSize();
190 if (cu->GetVersion() <= 2)
191 form_size = cu->GetAddressByteSize();
241 if (cu->GetAddressByteSize () == 4)
280 const DWARFCompileUnit* cu,
117 FastExtract( const DataExtractor& debug_info_data, const DWARFCompileUnit* cu, const uint8_t *fixed_form_sizes, lldb::offset_t *offset_ptr ) argument
[all...]
H A DDWARFLocationList.cpp21 DWARFLocationList::Dump(Stream &s, const DWARFCompileUnit* cu, const DataExtractor& debug_loc_data, lldb::offset_t offset) argument
24 uint32_t addr_size = DWARFCompileUnit::GetAddressByteSize(cu);
25 s.SetAddressByteSize(DWARFCompileUnit::GetAddressByteSize(cu));
26 dw_addr_t base_addr = cu ? cu->GetBaseAddress() : 0;
37 if (cu)
40 cu->GetAddressByteSize(),
H A DDWARFFormValue.h51 void Dump(lldb_private::Stream &s, const lldb_private::DataExtractor* debug_str_data, const DWARFCompileUnit* cu) const;
54 const DWARFCompileUnit* cu);
57 uint64_t Reference(const DWARFCompileUnit* cu) const;
59 bool ResolveCompileUnitReferences(const DWARFCompileUnit* cu);
66 bool SkipValue(const lldb_private::DataExtractor& debug_info_data, lldb::offset_t *offset_ptr, const DWARFCompileUnit* cu) const;
67 static bool SkipValue(const dw_form_t form, const lldb_private::DataExtractor& debug_info_data, lldb::offset_t *offset_ptr, const DWARFCompileUnit* cu);
68 // static bool TransferValue(dw_form_t form, const lldb_private::DataExtractor& debug_info_data, lldb::offset_t *offset_ptr, const DWARFCompileUnit* cu, BinaryStreamBuf& out_buff);
69 // static bool TransferValue(const DWARFFormValue& formValue, const DWARFCompileUnit* cu, BinaryStreamBuf& out_buff);
70 // static bool PutUnsigned(dw_form_t form, dw_offset_t offset, uint64_t value, BinaryStreamBuf& out_buff, const DWARFCompileUnit* cu, bool fixup_cu_relative_refs);
H A DDWARFDebugInfo.cpp78 DWARFCompileUnit* cu = GetCompileUnitAtIndex(idx); local
79 if (cu)
80 cu->BuildAddressRangeTable (m_dwarf2Data, m_cu_aranges_ap.get(), clear_dies_if_already_not_parsed);
178 DWARFCompileUnit* cu = NULL; local
180 cu = m_compile_units[idx].get();
181 return cu;
185 DWARFDebugInfo::ContainsCompileUnit (const DWARFCompileUnit *cu) const
194 if (pos->get() == cu)
346 DWARFCompileUnit* cu = cu_sp.get(); local
349 cu
364 AddCompileUnit(DWARFCompileUnitSP& cu) argument
496 const DWARFCompileUnit* cu = cu_sp.get(); local
738 const DWARFCompileUnit* cu = cu_sp.get(); local
[all...]
H A DDWARFDebugPubnames.cpp87 DWARFCompileUnit* cu = debug_info->GetCompileUnitAtIndex(cu_idx); local
89 const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (cu->GetAddressByteSize());
91 bool clear_dies = cu->ExtractDIEsIfNeeded (false) > 1;
94 const size_t die_count = cu->AppendDIEsWithTag (DW_TAG_subprogram, dies) +
95 cu->AppendDIEsWithTag (DW_TAG_variable, dies);
97 dw_offset_t cu_offset = cu->GetOffset();
98 DWARFDebugPubnamesSet pubnames_set(DW_INVALID_OFFSET, cu_offset, cu->GetNextCompileUnitOffset() - cu_offset);
108 const size_t num_attributes = die->GetAttributes(dwarf2Data, cu, fixed_form_sizes, attributes);
203 cu->ClearDIEs (true);
224 DWARFCompileUnit* cu local
[all...]
H A DDWARFLocationList.h20 const DWARFCompileUnit* cu,
/external/lldb/source/Core/
H A DFileLineResolver.cpp51 CompileUnit *cu = context.comp_unit; local
53 if (m_inlines || m_file_spec.Compare(*cu, m_file_spec, m_file_spec.GetDirectory()))
56 uint32_t file_idx = cu->GetSupportFiles().FindFileIndex(start_file_idx, m_file_spec, false);
59 LineTable *line_table = cu->GetLineTable();
71 file_idx = cu->GetSupportFiles().FindFileIndex(file_idx + 1, m_file_spec, false);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dsummary.py27 max_name = max([len(cu.name) for cu in self.code_units] + [5])
54 for cu in self.code_units:
56 analysis = self.coverage._analyze(cu)
58 args = (cu.name, nums.n_statements, nums.n_missing)
71 outfile.write(fmt_err % (cu.name, typ.__name__, msg))
H A Dannotate.py44 def annotate_file(self, cu, analysis):
47 `cu` is the CodeUnit for the file to annotate.
50 if not cu.relative:
53 filename = cu.filename
54 source = cu.source_file()
56 dest_file = os.path.join(self.directory, cu.flat_rootname())
/external/lldb/examples/python/
H A Dlldb_module_utils.py34 cu = module.GetCompileUnitAtIndex(cu_idx)
35 result.PutCString("\n%s:" % (cu.file))
36 for line_idx in range(cu.GetNumLineEntries()):
37 line_entry = cu.GetLineEntryAtIndex(line_idx)
/external/llvm/lib/DebugInfo/
H A DDWARFFormValue.cpp131 const DWARFUnit *cu) {
144 ? cu->getAddressByteSize()
145 : getRefAddrSize(cu->getAddressByteSize(), cu->getVersion());
146 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr);
147 if (AI != cu->getRelocMap()->end()) {
182 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr);
184 if (AI != cu->getRelocMap()->end())
197 = cu->getRelocMap()->find(*offset_ptr);
198 if (AI != cu
130 extractValue(DataExtractor data, uint32_t *offset_ptr, const DWARFUnit *cu) argument
261 skipValue(uint16_t form, DataExtractor debug_info_data, uint32_t *offset_ptr, const DWARFUnit *cu) argument
[all...]

Completed in 581 milliseconds

123456