Home
last modified time | relevance | path

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

/art/compiler/debug/
Delf_debug_line_writer.h84 for (const MethodDebugInfo* mi : compilation_unit.methods) { in WriteCompilationUnit() local
89 if (!seen_addresses.insert(mi->code_address).second) { in WriteCompilationUnit()
95 if (mi->code_info != nullptr) { in WriteCompilationUnit()
97 const CodeInfo code_info(mi->code_info); in WriteCompilationUnit()
142 if (!mi->is_native_debuggable) { in WriteCompilationUnit()
149 Elf_Addr method_address = base_address + mi->code_address; in WriteCompilationUnit()
152 const DexFile* dex = mi->dex_file; in WriteCompilationUnit()
154 CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); in WriteCompilationUnit()
174 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
222 const bool default_is_stmt = mi->is_native_debuggable; in WriteCompilationUnit()
[all …]
Delf_debug_info_writer.h45 static std::vector<const char*> GetParamNames(const MethodDebugInfo* mi) { in GetParamNames() argument
47 DCHECK(mi->dex_file != nullptr); in GetParamNames()
48 CodeItemDebugInfoAccessor accessor(*mi->dex_file, mi->code_item, mi->dex_method_index); in GetParamNames()
51 names.push_back(mi->dex_file->StringDataByIdx(id)); in GetParamNames()
127 for (auto mi : compilation_unit.methods) { in Write() local
128 uint64_t low_pc = mi->code_address - compilation_unit.code_address; in Write()
129 uint64_t high_pc = low_pc + mi->code_size; in Write()
147 for (auto mi : compilation_unit.methods) { in Write() local
148 DCHECK(mi->dex_file != nullptr); in Write()
149 const DexFile* dex = mi->dex_file; in Write()
[all …]
Delf_debug_frame_writer.h212 for (const MethodDebugInfo* mi : sorted_method_infos) { in WriteCFISection() local
213 DCHECK(!mi->deduped); in WriteCFISection()
214 DCHECK(!mi->cfi.empty()); in WriteCFISection()
215 const Elf_Addr code_address = mi->code_address + in WriteCFISection()
216 (mi->is_code_address_text_relative ? builder->GetText()->GetAddress() : 0); in WriteCFISection()
224 mi->code_size, in WriteCFISection()
225 mi->cfi, in WriteCFISection()
Delf_debug_writer.cc56 for (const MethodDebugInfo& mi : debug_info.compiled_methods) { in WriteDebugInfo() local
57 if (mi.dex_file != nullptr) { in WriteDebugInfo()
58 auto& dex_class_def = mi.dex_file->GetClassDef(mi.class_def_index); in WriteDebugInfo()
60 cu.methods.push_back(&mi); in WriteDebugInfo()
62 … DCHECK_EQ(cu.methods.front()->is_code_address_text_relative, mi.is_code_address_text_relative); in WriteDebugInfo()
63 cu.is_code_address_text_relative = mi.is_code_address_text_relative; in WriteDebugInfo()
64 cu.code_address = std::min(cu.code_address, mi.code_address); in WriteDebugInfo()
65 cu.code_end = std::max(cu.code_end, mi.code_address + mi.code_size); in WriteDebugInfo()
/art/test/980-redefine-object/
Dredef_object.cc64 slicer::MethodInstrumenter mi(dex_ir); in RedefineObjectHook() local
65 mi.AddTransformation<slicer::EntryHook>(ir::MethodId("Lart/test/TestWatcher;", in RedefineObjectHook()
68 if (!mi.InstrumentMethod(ir::MethodId("Ljava/lang/Object;", in RedefineObjectHook()
/art/runtime/gc/
Dheap.cc2658 struct mallinfo mi = mallinfo(); in GetNativeBytes() local
2661 if (sizeof(size_t) > sizeof(mi.uordblks) && sizeof(size_t) > sizeof(mi.hblkhd)) { in GetNativeBytes()
2664 malloc_bytes = (unsigned int)mi.uordblks; in GetNativeBytes()
2665 mmapped_bytes = (unsigned int)mi.hblkhd; in GetNativeBytes()
2667 malloc_bytes = mi.uordblks; in GetNativeBytes()
2668 mmapped_bytes = mi.hblkhd; in GetNativeBytes()