Home | History | Annotate | Download | only in compiler

Lines Matching refs:oat_writer

35 #include "oat_writer.h"
111 OatWriter oat_writer(/*compiling_boot_image*/true, &timings);
117 oat_writer.AddRawDexFileSource(raw_dex_file,
123 bool dex_files_ok = oat_writer.WriteAndOpenDexFiles(
139 oat_writer.PrepareLayout(compiler_driver_.get(), writer.get(), dex_files, &patcher);
140 size_t rodata_size = oat_writer.GetOatHeader().GetExecutableOffset();
141 size_t text_size = oat_writer.GetSize() - rodata_size;
142 elf_writer->SetLoadedSectionSizes(rodata_size, text_size, oat_writer.GetBssSize());
146 oat_writer.GetOatDataOffset(),
147 oat_writer.GetSize());
149 bool rodata_ok = oat_writer.WriteRodata(rodata);
154 bool text_ok = oat_writer.WriteCode(text);
158 bool header_ok = oat_writer.WriteHeader(elf_writer->GetStream(), 0u, 0u, 0u);
161 writer->UpdateOatFileHeader(/* oat_index */ 0u, oat_writer.GetOatHeader());
164 elf_writer->WriteDebugInfo(oat_writer.GetMethodDebugInfo());
165 elf_writer->WritePatchLocations(oat_writer.GetAbsolutePatchLocations());