Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Dimage_test.h288 ElfWriter* const elf_writer = elf_writers[i].get(); in DoCompile() local
299 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in DoCompile()
308 elf_writer->GetLoadedSize(), in DoCompile()
314 elf_writer->EndRoData(rodata[i]); in DoCompile()
316 OutputStream* text = elf_writer->StartText(); in DoCompile()
319 elf_writer->EndText(text); in DoCompile()
322 OutputStream* data_bimg_rel_ro = elf_writer->StartDataBimgRelRo(); in DoCompile()
325 elf_writer->EndDataBimgRelRo(data_bimg_rel_ro); in DoCompile()
328 bool header_ok = oat_writer->WriteHeader(elf_writer->GetStream()); in DoCompile()
333 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.cc2114 std::unique_ptr<linker::ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2118 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in WriteOutputFiles()
2130 elf_writer->GetLoadedSize(), in WriteOutputFiles()
2138 std::unique_ptr<linker::ElfWriter>& elf_writer = elf_writers_[i]; in WriteOutputFiles() local
2144 elf_writer->PrepareDebugInfo(debug_info); // Processes the data on background thread. in WriteOutputFiles()
2152 elf_writer->EndRoData(rodata); in WriteOutputFiles()
2155 OutputStream* text = elf_writer->StartText(); in WriteOutputFiles()
2160 elf_writer->EndText(text); in WriteOutputFiles()
2163 OutputStream* data_bimg_rel_ro = elf_writer->StartDataBimgRelRo(); in WriteOutputFiles()
2169 elf_writer->EndDataBimgRelRo(data_bimg_rel_ro); in WriteOutputFiles()
[all …]
DAndroid.bp33 "linker/elf_writer.cc",