Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 5 of 5) sorted by relevance

/art/compiler/debug/
Delf_debug_writer.cc52 for (const MethodDebugInfo& mi : debug_info.compiled_methods) { in WriteDebugInfo() local
53 if (mi.dex_file != nullptr) { in WriteDebugInfo()
54 auto& dex_class_def = mi.dex_file->GetClassDef(mi.class_def_index); in WriteDebugInfo()
56 cu.methods.push_back(&mi); in WriteDebugInfo()
58 … DCHECK_EQ(cu.methods.front()->is_code_address_text_relative, mi.is_code_address_text_relative); in WriteDebugInfo()
59 cu.is_code_address_text_relative = mi.is_code_address_text_relative; in WriteDebugInfo()
60 cu.code_address = std::min(cu.code_address, mi.code_address); in WriteDebugInfo()
61 cu.code_end = std::max(cu.code_end, mi.code_address + mi.code_size); in WriteDebugInfo()
144 for (const MethodDebugInfo& mi : method_infos) { in MakeElfFileForJITInternal() local
145 CHECK_EQ(mi.is_code_address_text_relative, false); in MakeElfFileForJITInternal()
[all …]
Delf_debug_line_writer.h89 for (const MethodDebugInfo* mi : compilation_unit.methods) { in WriteCompilationUnit() local
94 if (!seen_addresses.insert(mi->code_address).second) { in WriteCompilationUnit()
100 if (mi->code_info != nullptr) { in WriteCompilationUnit()
102 const CodeInfo code_info(mi->code_info); in WriteCompilationUnit()
150 if (!mi->is_native_debuggable) { in WriteCompilationUnit()
157 Elf_Addr method_address = base_address + mi->code_address; in WriteCompilationUnit()
160 DCHECK(mi->dex_file != nullptr); in WriteCompilationUnit()
161 const DexFile* dex = mi->dex_file; in WriteCompilationUnit()
162 CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); in WriteCompilationUnit()
179 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
[all …]
Delf_debug_info_writer.h50 static std::vector<const char*> GetParamNames(const MethodDebugInfo* mi) { in GetParamNames() argument
52 CodeItemDebugInfoAccessor accessor(*mi->dex_file, mi->code_item, mi->dex_method_index); in GetParamNames()
54 DCHECK(mi->dex_file != nullptr); in GetParamNames()
55 const uint8_t* stream = mi->dex_file->GetDebugInfoStream(accessor.DebugInfoOffset()); in GetParamNames()
61 names.push_back(mi->dex_file->StringDataByIdx(dex::StringIndex(id))); in GetParamNames()
143 for (auto mi : compilation_unit.methods) { in Write() local
144 uint64_t low_pc = mi->code_address - compilation_unit.code_address; in Write()
145 uint64_t high_pc = low_pc + mi->code_size; in Write()
163 for (auto mi : compilation_unit.methods) { in Write() local
164 DCHECK(mi->dex_file != nullptr); in Write()
[all …]
Delf_debug_frame_writer.h223 for (const MethodDebugInfo* mi : sorted_method_infos) { in WriteCFISection() local
224 DCHECK(!mi->deduped); in WriteCFISection()
225 DCHECK(!mi->cfi.empty()); in WriteCFISection()
226 const Elf_Addr code_address = mi->code_address + in WriteCFISection()
227 (mi->is_code_address_text_relative ? builder->GetText()->GetAddress() : 0); in WriteCFISection()
233 code_address, mi->code_size, in WriteCFISection()
234 mi->cfi, format, buffer_address, &buffer, in WriteCFISection()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc497 __ B(&forwarding_address, mi); in CompileBakerReadBarrierThunk()