Lines Matching refs:mi
50 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()
165 const DexFile* dex = mi->dex_file; in Write()
166 CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); in Write()
167 const DexFile::MethodId& dex_method = dex->GetMethodId(mi->dex_method_index); in Write()
171 const bool is_static = (mi->access_flags & kAccStatic) != 0; in Write()
197 info_.WriteAddr(DW_AT_low_pc, base_address + mi->code_address); in Write()
198 info_.WriteUdata(DW_AT_high_pc, mi->code_size); in Write()
208 if (accessor.HasCodeItem() && mi->code_info != nullptr) { in Write()
209 const CodeInfo code_info(mi->code_info); in Write()
221 std::vector<const char*> param_names = GetParamNames(mi); in Write()
232 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write()
251 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write()
264 mi->dex_method_index, in Write()
273 WriteRegLocation(mi, in Write()