Home
last modified time | relevance | path

Searched refs:elf_writer (Results 1 – 4 of 4) sorted by relevance

/art/compiler/
Dimage_test.h307 ElfWriter* const elf_writer = elf_writers[i].get(); in Compile() local
313 elf_writer->PrepareDynamicSection(rodata_size, in Compile()
320 elf_writer->GetLoadedSize(), in Compile()
326 elf_writer->EndRoData(rodata[i]); in Compile()
328 OutputStream* text = elf_writer->StartText(); in Compile()
331 elf_writer->EndText(text); in Compile()
333 bool header_ok = oat_writer->WriteHeader(elf_writer->GetStream(), 0u, 0u, 0u); in Compile()
338 elf_writer->WriteDynamicSection(); in Compile()
339 elf_writer->WriteDebugInfo(oat_writer->GetMethodDebugInfo()); in Compile()
341 bool success = elf_writer->End(); in Compile()
Doat_test.cc186 std::unique_ptr<ElfWriter> elf_writer = CreateElfWriterQuick( in DoWriteElf() local
191 elf_writer->Start(); in DoWriteElf()
192 OutputStream* oat_rodata = elf_writer->StartRoData(); in DoWriteElf()
221 elf_writer->PrepareDynamicSection(rodata_size, in DoWriteElf()
241 elf_writer->EndRoData(oat_rodata); in DoWriteElf()
243 OutputStream* text = elf_writer->StartText(); in DoWriteElf()
247 elf_writer->EndText(text); in DoWriteElf()
249 if (!oat_writer.WriteHeader(elf_writer->GetStream(), 42U, 4096U, 0)) { in DoWriteElf()
253 elf_writer->WriteDynamicSection(); in DoWriteElf()
254 elf_writer->WriteDebugInfo(oat_writer.GetMethodDebugInfo()); in DoWriteElf()
[all …]
DAndroid.bp97 "elf_writer.cc",
/art/dex2oat/
Ddex2oat.cc2082 std::unique_ptr<ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2089 elf_writer->PrepareDynamicSection(rodata_size, in WriteOutputFiles()
2100 elf_writer->GetLoadedSize(), in WriteOutputFiles()
2116 std::unique_ptr<ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2123 elf_writer->PrepareDebugInfo(oat_writer->GetMethodDebugInfo()); in WriteOutputFiles()
2131 elf_writer->EndRoData(rodata); in WriteOutputFiles()
2134 OutputStream* text = elf_writer->StartText(); in WriteOutputFiles()
2139 elf_writer->EndText(text); in WriteOutputFiles()
2141 if (!oat_writer->WriteHeader(elf_writer->GetStream(), in WriteOutputFiles()
2156 elf_writer->WriteDynamicSection(); in WriteOutputFiles()
[all …]