Home | History | Annotate | Download | only in dex2oat

Lines Matching refs:oat_writer

73 #include "oat_writer.h"
1699 std::unique_ptr<OatWriter>& oat_writer = oat_writers_[i];
1702 oat_writer->PrepareLayout(driver_.get(), image_writer_.get(), dex_files, &patcher);
1704 size_t rodata_size = oat_writer->GetOatHeader().GetExecutableOffset();
1705 size_t text_size = oat_writer->GetSize() - rodata_size;
1706 elf_writer->SetLoadedSectionSizes(rodata_size, text_size, oat_writer->GetBssSize());
1714 oat_writer->GetOatDataOffset(),
1715 oat_writer->GetSize());
1722 std::unique_ptr<OatWriter>& oat_writer = oat_writers_[i];
1724 oat_writer->AddMethodDebugInfos(debug::MakeTrampolineInfos(oat_writer->GetOatHeader()));
1728 elf_writer->PrepareDebugInfo(oat_writer->GetMethodDebugInfo());
1732 if (!oat_writer->WriteRodata(rodata)) {
1740 if (!oat_writer->WriteCode(text)) {
1746 if (!oat_writer->WriteHeader(elf_writer->GetStream(),
1758 image_writer_->UpdateOatFileHeader(i, oat_writer->GetOatHeader());
1762 elf_writer->WriteDebugInfo(oat_writer->GetMethodDebugInfo());
1763 elf_writer->WritePatchLocations(oat_writer->GetAbsolutePatchLocations());
1780 oat_writer.reset();