Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Dimage_test.h289 ElfWriter* const elf_writer = elf_writers[i].get(); in DoCompile() local
300 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in DoCompile()
309 elf_writer->GetLoadedSize(), in DoCompile()
315 elf_writer->EndRoData(rodata[i]); in DoCompile()
317 OutputStream* text = elf_writer->StartText(); in DoCompile()
320 elf_writer->EndText(text); in DoCompile()
323 OutputStream* data_bimg_rel_ro = elf_writer->StartDataBimgRelRo(); in DoCompile()
326 elf_writer->EndDataBimgRelRo(data_bimg_rel_ro); in DoCompile()
329 bool header_ok = oat_writer->WriteHeader(elf_writer->GetStream()); in DoCompile()
334 elf_writer->WriteDynamicSection(); in DoCompile()
[all …]
Doat_writer_test.cc174 std::unique_ptr<ElfWriter> elf_writer = CreateElfWriterQuick( in DoWriteElf() local
177 elf_writer->Start(); in DoWriteElf()
178 OutputStream* oat_rodata = elf_writer->StartRoData(); in DoWriteElf()
207 elf_writer->PrepareDynamicSection(oat_writer.GetOatHeader().GetExecutableOffset(), in DoWriteElf()
222 elf_writer->EndRoData(oat_rodata); in DoWriteElf()
224 OutputStream* text = elf_writer->StartText(); in DoWriteElf()
228 elf_writer->EndText(text); in DoWriteElf()
231 OutputStream* data_bimg_rel_ro = elf_writer->StartDataBimgRelRo(); in DoWriteElf()
235 elf_writer->EndDataBimgRelRo(data_bimg_rel_ro); in DoWriteElf()
238 if (!oat_writer.WriteHeader(elf_writer->GetStream())) { in DoWriteElf()
[all …]
/art/dex2oat/
Ddex2oat.cc2324 std::unique_ptr<linker::ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2328 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in WriteOutputFiles()
2340 elf_writer->GetLoadedSize(), in WriteOutputFiles()
2348 std::unique_ptr<linker::ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2354 elf_writer->PrepareDebugInfo(debug_info); // Processes the data on background thread. in WriteOutputFiles()
2362 elf_writer->EndRoData(rodata); in WriteOutputFiles()
2365 OutputStream* text = elf_writer->StartText(); in WriteOutputFiles()
2370 elf_writer->EndText(text); in WriteOutputFiles()
2373 OutputStream* data_bimg_rel_ro = elf_writer->StartDataBimgRelRo(); in WriteOutputFiles()
2379 elf_writer->EndDataBimgRelRo(data_bimg_rel_ro); in WriteOutputFiles()
[all …]
DAndroid.bp25 "linker/elf_writer.cc",