Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Dimage_test.h304 ElfWriter* const elf_writer = elf_writers[i].get(); in Compile() local
318 elf_writer->PrepareDynamicSection(rodata_size, in Compile()
326 elf_writer->GetLoadedSize(), in Compile()
332 elf_writer->EndRoData(rodata[i]); in Compile()
334 OutputStream* text = elf_writer->StartText(); in Compile()
337 elf_writer->EndText(text); in Compile()
339 bool header_ok = oat_writer->WriteHeader(elf_writer->GetStream(), 0u, 0u, 0u); in Compile()
344 elf_writer->WriteDynamicSection(); in Compile()
345 elf_writer->WriteDebugInfo(oat_writer->GetDebugInfo()); in Compile()
347 bool success = elf_writer->End(); in Compile()
Doat_writer_test.cc184 std::unique_ptr<ElfWriter> elf_writer = CreateElfWriterQuick( in DoWriteElf() local
189 elf_writer->Start(); in DoWriteElf()
190 OutputStream* oat_rodata = elf_writer->StartRoData(); in DoWriteElf()
221 elf_writer->PrepareDynamicSection(rodata_size, in DoWriteElf()
243 elf_writer->EndRoData(oat_rodata); in DoWriteElf()
245 OutputStream* text = elf_writer->StartText(); in DoWriteElf()
249 elf_writer->EndText(text); in DoWriteElf()
251 if (!oat_writer.WriteHeader(elf_writer->GetStream(), 42U, 4096U, 0)) { in DoWriteElf()
255 elf_writer->WriteDynamicSection(); in DoWriteElf()
256 elf_writer->WriteDebugInfo(oat_writer.GetDebugInfo()); in DoWriteElf()
[all …]
/art/dex2oat/
Ddex2oat.cc2103 std::unique_ptr<linker::ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2110 elf_writer->PrepareDynamicSection(rodata_size, in WriteOutputFiles()
2121 elf_writer->GetLoadedSize(), in WriteOutputFiles()
2137 std::unique_ptr<linker::ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2143 elf_writer->PrepareDebugInfo(debug_info); // Processes the data on background thread. in WriteOutputFiles()
2151 elf_writer->EndRoData(rodata); in WriteOutputFiles()
2154 linker::OutputStream* text = elf_writer->StartText(); in WriteOutputFiles()
2159 elf_writer->EndText(text); in WriteOutputFiles()
2161 if (!oat_writer->WriteHeader(elf_writer->GetStream(), in WriteOutputFiles()
2176 elf_writer->WriteDynamicSection(); in WriteOutputFiles()
[all …]
DAndroid.bp22 "linker/elf_writer.cc",