• Home
  • Raw
  • Download

Lines Matching refs:oat_method

343   void AddOffsets(const OatFile::OatMethod& oat_method) {  in AddOffsets()  argument
344 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets()
349 offsets_.insert(oat_method.GetMappingTableOffset()); in AddOffsets()
350 offsets_.insert(oat_method.GetVmapTableOffset()); in AddOffsets()
351 offsets_.insert(oat_method.GetNativeGcMapOffset()); in AddOffsets()
467 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_index); in DumpOatMethod() local
483 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod()
485 uint32_t aligned_code_begin = AlignCodeOffset(oat_method.GetCodeOffset()); in DumpOatMethod()
496 *indent2_os << StringPrintf("%p ", oat_method.GetNativeGcMap()); in DumpOatMethod()
498 uint32_t gc_map_offset = oat_method.GetNativeGcMapOffset(); in DumpOatMethod()
508 DumpGcMap(indent3_os, oat_method, code_item); in DumpOatMethod()
513 uint32_t method_header_offset = oat_method.GetOatQuickMethodHeaderOffset(); in DumpOatMethod()
514 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in DumpOatMethod()
531 *indent2_os << StringPrintf("%p ", oat_method.GetMappingTable()); in DumpOatMethod()
533 uint32_t mapping_table_offset = oat_method.GetMappingTableOffset(); in DumpOatMethod()
534 *indent2_os << StringPrintf("(offset=0x%08x)\n", oat_method.GetMappingTableOffset()); in DumpOatMethod()
540 oat_method.GetMappingTableOffsetOffset()); in DumpOatMethod()
545 DumpMappingTable(indent3_os, oat_method); in DumpOatMethod()
550 *indent2_os << StringPrintf("%p ", oat_method.GetVmapTable()); in DumpOatMethod()
552 uint32_t vmap_table_offset = oat_method.GetVmapTableOffset(); in DumpOatMethod()
559 oat_method.GetVmapTableOffsetOffset()); in DumpOatMethod()
562 DumpVmap(*indent2_os, oat_method); in DumpOatMethod()
568 *indent2_os << StringPrintf("frame_size_in_bytes: %zd\n", oat_method.GetFrameSizeInBytes()); in DumpOatMethod()
569 *indent2_os << StringPrintf("core_spill_mask: 0x%08x ", oat_method.GetCoreSpillMask()); in DumpOatMethod()
570 DumpSpillMask(*indent2_os, oat_method.GetCoreSpillMask(), false); in DumpOatMethod()
572 *indent2_os << StringPrintf("fp_spill_mask: 0x%08x ", oat_method.GetFpSpillMask()); in DumpOatMethod()
573 DumpSpillMask(*indent2_os, oat_method.GetFpSpillMask(), true); in DumpOatMethod()
578 uint32_t code_size_offset = oat_method.GetQuickCodeSizeOffset(); in DumpOatMethod()
585 const void* code = oat_method.GetQuickCode(); in DumpOatMethod()
586 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod()
588 code = oat_method.GetPortableCode(); in DumpOatMethod()
589 code_size = oat_method.GetPortableCodeSize(); in DumpOatMethod()
592 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod()
619 DumpCode(*indent2_os, verifier.get(), oat_method, code_item, true, kPrologueBytes); in DumpOatMethod()
631 DumpCode(*indent2_os, verifier.get(), oat_method, code_item, true, kPrologueBytes); in DumpOatMethod()
635 DumpCode(*indent2_os, verifier.get(), oat_method, code_item, !success, 0); in DumpOatMethod()
666 void DumpVmap(std::ostream& os, const OatFile::OatMethod& oat_method) { in DumpVmap() argument
667 const uint8_t* raw_table = oat_method.GetVmapTable(); in DumpVmap()
672 uint32_t spill_mask = oat_method.GetCoreSpillMask(); in DumpVmap()
686 spill_mask = oat_method.GetFpSpillMask(); in DumpVmap()
693 void DescribeVReg(std::ostream& os, const OatFile::OatMethod& oat_method, in DescribeVReg() argument
695 const uint8_t* raw_table = oat_method.GetVmapTable(); in DescribeVReg()
701 uint32_t spill_mask = is_float ? oat_method.GetFpSpillMask() in DescribeVReg()
702 : oat_method.GetCoreSpillMask(); in DescribeVReg()
705 uint32_t offset = StackVisitor::GetVRegOffset(code_item, oat_method.GetCoreSpillMask(), in DescribeVReg()
706 oat_method.GetFpSpillMask(), in DescribeVReg()
707 oat_method.GetFrameSizeInBytes(), reg, in DescribeVReg()
714 void DumpGcMapRegisters(std::ostream& os, const OatFile::OatMethod& oat_method, in DumpGcMapRegisters() argument
722 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg); in DumpGcMapRegisters()
727 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg); in DumpGcMapRegisters()
738 void DumpGcMap(std::ostream& os, const OatFile::OatMethod& oat_method, in DumpGcMap() argument
740 const uint8_t* gc_map_raw = oat_method.GetNativeGcMap(); in DumpGcMap()
744 const void* quick_code = oat_method.GetQuickCode(); in DumpGcMap()
751 DumpGcMapRegisters(os, oat_method, code_item, map.RegWidth() * 8, map.GetBitMap(entry)); in DumpGcMap()
754 const void* portable_code = oat_method.GetPortableCode(); in DumpGcMap()
760 DumpGcMapRegisters(os, oat_method, code_item, map.RegWidth() * 8, map.GetBitMap(entry)); in DumpGcMap()
765 void DumpMappingTable(std::ostream& os, const OatFile::OatMethod& oat_method) { in DumpMappingTable() argument
766 const void* quick_code = oat_method.GetQuickCode(); in DumpMappingTable()
770 MappingTable table(oat_method.GetMappingTable()); in DumpMappingTable()
793 uint32_t DumpMappingAtOffset(std::ostream& os, const OatFile::OatMethod& oat_method, in DumpMappingAtOffset() argument
795 MappingTable table(oat_method.GetMappingTable()); in DumpMappingAtOffset()
816 void DumpGcMapAtNativePcOffset(std::ostream& os, const OatFile::OatMethod& oat_method, in DumpGcMapAtNativePcOffset() argument
818 const uint8_t* gc_map_raw = oat_method.GetNativeGcMap(); in DumpGcMapAtNativePcOffset()
829 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg); in DumpGcMapAtNativePcOffset()
834 DescribeVReg(os, oat_method, code_item, reg, kReferenceVReg); in DumpGcMapAtNativePcOffset()
847 const OatFile::OatMethod& oat_method, in DumpVRegsAtDexPc() argument
865 DescribeVReg(os, oat_method, code_item, reg, kind); in DumpVRegsAtDexPc()
871 DescribeVReg(os, oat_method, code_item, reg, kind); in DumpVRegsAtDexPc()
914 const OatFile::OatMethod& oat_method, const DexFile::CodeItem* code_item, in DumpCode() argument
916 const void* portable_code = oat_method.GetPortableCode(); in DumpCode()
917 const void* quick_code = oat_method.GetQuickCode(); in DumpCode()
920 code_size = oat_method.GetQuickCodeSize(); in DumpCode()
930 DumpMappingAtOffset(os, oat_method, offset, false); in DumpCode()
934 uint32_t dex_pc = DumpMappingAtOffset(os, oat_method, offset, true); in DumpCode()
936 DumpGcMapAtNativePcOffset(os, oat_method, code_item, offset); in DumpCode()
938 DumpVRegsAtDexPc(os, verifier, oat_method, code_item, dex_pc); in DumpCode()