Searched refs:elf_writer (Results 1 – 4 of 4) sorted by relevance
/art/compiler/ |
D | image_test.cc | 105 std::unique_ptr<ElfWriter> elf_writer = CreateElfWriterQuick( in TestWriteRead() local 110 elf_writer->Start(); in TestWriteRead() 112 OutputStream* rodata = elf_writer->StartRoData(); in TestWriteRead() 142 elf_writer->SetLoadedSectionSizes(rodata_size, text_size, oat_writer.GetBssSize()); in TestWriteRead() 145 elf_writer->GetLoadedSize(), in TestWriteRead() 151 elf_writer->EndRoData(rodata); in TestWriteRead() 153 OutputStream* text = elf_writer->StartText(); in TestWriteRead() 156 elf_writer->EndText(text); in TestWriteRead() 158 bool header_ok = oat_writer.WriteHeader(elf_writer->GetStream(), 0u, 0u, 0u); in TestWriteRead() 163 elf_writer->WriteDynamicSection(); in TestWriteRead() [all …]
|
D | oat_test.cc | 177 std::unique_ptr<ElfWriter> elf_writer = CreateElfWriterQuick( in DoWriteElf() local 182 elf_writer->Start(); in DoWriteElf() 183 OutputStream* rodata = elf_writer->StartRoData(); in DoWriteElf() 209 elf_writer->SetLoadedSectionSizes(rodata_size, text_size, oat_writer.GetBssSize()); in DoWriteElf() 214 elf_writer->EndRoData(rodata); in DoWriteElf() 216 OutputStream* text = elf_writer->StartText(); in DoWriteElf() 220 elf_writer->EndText(text); in DoWriteElf() 222 if (!oat_writer.WriteHeader(elf_writer->GetStream(), 42U, 4096U, 0)) { in DoWriteElf() 226 elf_writer->WriteDynamicSection(); in DoWriteElf() 227 elf_writer->WriteDebugInfo(oat_writer.GetMethodDebugInfo()); in DoWriteElf() [all …]
|
D | Android.mk | 82 elf_writer.cc \
|
/art/dex2oat/ |
D | dex2oat.cc | 1671 std::unique_ptr<ElfWriter>& elf_writer = elf_writers_[i]; in WriteOatFiles() local 1679 elf_writer->SetLoadedSectionSizes(rodata_size, text_size, oat_writer->GetBssSize()); in WriteOatFiles() 1686 elf_writer->GetLoadedSize(), in WriteOatFiles() 1694 std::unique_ptr<ElfWriter>& elf_writer = elf_writers_[i]; in WriteOatFiles() local 1701 elf_writer->PrepareDebugInfo(oat_writer->GetMethodDebugInfo()); in WriteOatFiles() 1709 elf_writer->EndRoData(rodata); in WriteOatFiles() 1712 OutputStream* text = elf_writer->StartText(); in WriteOatFiles() 1717 elf_writer->EndText(text); in WriteOatFiles() 1719 if (!oat_writer->WriteHeader(elf_writer->GetStream(), in WriteOatFiles() 1734 elf_writer->WriteDynamicSection(); in WriteOatFiles() [all …]
|