Home | History | Annotate | Download | only in oatdump

Lines Matching defs:oat_method

233   void AddOffsets(const OatFile::OatMethod& oat_method) {
234 uint32_t code_offset = oat_method.GetCodeOffset();
239 offsets_.insert(oat_method.GetMappingTableOffset());
240 offsets_.insert(oat_method.GetVmapTableOffset());
241 offsets_.insert(oat_method.GetNativeGcMapOffset());
287 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_idx);
288 DumpOatMethod(os, class_def, class_method_idx, oat_method, dex_file,
294 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_idx);
295 DumpOatMethod(os, class_def, class_method_idx, oat_method, dex_file,
306 const OatFile::OatMethod& oat_method, const DexFile& dex_file,
332 indent2_os << StringPrintf("frame_size_in_bytes: %zd\n", oat_method.GetFrameSizeInBytes());
333 indent2_os << StringPrintf("core_spill_mask: 0x%08x ", oat_method.GetCoreSpillMask());
334 DumpSpillMask(indent2_os, oat_method.GetCoreSpillMask(), false);
335 indent2_os << StringPrintf("\nfp_spill_mask: 0x%08x ", oat_method.GetFpSpillMask());
336 DumpSpillMask(indent2_os, oat_method.GetFpSpillMask(), true);
338 oat_method.GetVmapTable(), oat_method.GetVmapTableOffset());
339 DumpVmap(indent2_os, oat_method);
341 oat_method.GetMappingTable(), oat_method.GetMappingTableOffset());
346 DumpMappingTable(indent3_os, oat_method);
349 oat_method.GetNativeGcMap(), oat_method.GetNativeGcMapOffset());
354 DumpGcMap(indent3_os, oat_method, code_item);
359 oat_method.GetCode(),
360 oat_method.GetCodeOffset(),
361 oat_method.GetCodeSize(),
362 oat_method.GetCode() != NULL ? "..." : "");
365 DumpCode(indent2_os, oat_method, dex_method_idx, &dex_file, class_def, code_item,
393 void DumpVmap(std::ostream& os, const OatFile::OatMethod& oat_method) {
394 const uint8_t* raw_table = oat_method.GetVmapTable();
399 uint32_t spill_mask = oat_method.GetCoreSpillMask();
413 spill_mask = oat_method.GetFpSpillMask();
420 oat_method,
422 const uint8_t* raw_table = oat_method.GetVmapTable();
428 uint32_t spill_mask = is_float ? oat_method.GetFpSpillMask()
429 : oat_method.GetCoreSpillMask();
432 uint32_t offset = StackVisitor::GetVRegOffset(code_item, oat_method.GetCoreSpillMask(),
433 oat_method.GetFpSpillMask(),
434 oat_method.GetFrameSizeInBytes(), reg);
440 void DumpGcMap(std::ostream& os, const OatFile::OatMethod& oat_method,
442 const uint8_t* gc_map_raw = oat_method.GetNativeGcMap();
447 const void* code = oat_method.GetCode();
459 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg);
464 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg);
473 void DumpMappingTable(std::ostream& os, const OatFile::OatMethod& oat_method) {
474 const void* code = oat_method.GetCode();
478 MappingTable table(oat_method.GetMappingTable());
501 uint32_t DumpMappingAtOffset(std::ostream& os, const OatFile::OatMethod& oat_method,
503 MappingTable table(oat_method.GetMappingTable());
524 void DumpGcMapAtNativePcOffset(std::ostream& os, const OatFile::OatMethod& oat_method,
526 const uint8_t* gc_map_raw = oat_method.GetNativeGcMap();
537 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg);
542 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg);
554 void DumpVRegsAtDexPc(std::ostream& os, const OatFile::OatMethod& oat_method,
587 DescribeVReg(os, oat_method, code_item, reg, kind);
593 DescribeVReg(os, oat_method, code_item, reg, kind);
629 void DumpCode(std::ostream& os, const OatFile::OatMethod& oat_method,
633 const void* code = oat_method.GetCode();
634 size_t code_size = oat_method.GetCodeSize();
643 DumpMappingAtOffset(os, oat_method, offset, false);
645 uint32_t dex_pc = DumpMappingAtOffset(os, oat_method, offset, true);
647 DumpGcMapAtNativePcOffset(os, oat_method, code_item, offset);
649 DumpVRegsAtDexPc(os, oat_method, dex_method_idx, dex_file, class_def, code_item,