Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Delf_writer_quick.cc137 std::unique_ptr<ElfBuilder<ElfTypes>> builder_; member in art::linker::FINAL
178 builder_(new ElfBuilder<ElfTypes>(instruction_set, features, output_stream_.get())) {} in ElfWriterQuick()
185 builder_->Start(); in Start()
187 builder_->GetBuildId()->AllocateVirtualMemory(builder_->GetBuildId()->GetSize()); in Start()
188 builder_->WriteBuildIdSection(); in Start()
207 builder_->PrepareDynamicSection(elf_file_->GetPath(), in PrepareDynamicSection()
218 auto* rodata = builder_->GetRoData(); in StartRoData()
225 CHECK_EQ(builder_->GetRoData(), rodata); in EndRoData()
226 builder_->GetRoData()->End(); in EndRoData()
231 auto* text = builder_->GetText(); in StartText()
[all …]
/art/compiler/debug/
Delf_debug_line_writer.h47 explicit ElfDebugLineWriter(linker::ElfBuilder<ElfTypes>* builder) : builder_(builder) { in ElfDebugLineWriter()
51 builder_->GetDebugLine()->Start(); in Start()
57 const InstructionSet isa = builder_->GetIsa(); in WriteCompilationUnit()
60 ? builder_->GetText()->GetAddress() in WriteCompilationUnit()
63 compilation_unit.debug_line_offset = builder_->GetDebugLine()->GetPosition(); in WriteCompilationUnit()
271 size_t offset = builder_->GetDebugLine()->GetPosition(); in WriteCompilationUnit()
273 builder_->GetDebugLine()->WriteFully(buffer.data(), buffer.size()); in WriteCompilationUnit()
278 builder_->GetDebugLine()->End(); in End()
280 builder_->WritePatches(".debug_line.oat_patches", in End()
286 linker::ElfBuilder<ElfTypes>* builder_;
Delf_debug_info_writer.h75 : builder_(builder), in ElfDebugInfoWriter()
80 builder_->GetDebugInfo()->Start(); in Start()
84 builder_->GetDebugInfo()->End(); in End()
86 builder_->WritePatches(".debug_info.oat_patches", in End()
89 builder_->WriteSection(".debug_abbrev", &debug_abbrev_buffer_); in End()
91 builder_->WriteSection(".debug_loc", &debug_loc_); in End()
94 builder_->WriteSection(".debug_ranges", &debug_ranges_); in End()
99 linker::ElfBuilder<ElfTypes>* builder_;
121 info_(Is64BitInstructionSet(owner_->builder_->GetIsa()), &owner->debug_abbrev_) { in ElfCompilationUnitWriter()
127 ? owner_->builder_->GetText()->GetAddress() in Write()
[all …]
/art/oatdump/
Doatdump.cc129 builder_(nullptr), in OatSymbolizer()
146 builder_.reset(new linker::ElfBuilder<ElfTypes>(isa, features.get(), output_stream.get())); in Symbolize()
148 builder_->Start(); in Symbolize()
150 auto* rodata = builder_->GetRoData(); in Symbolize()
151 auto* text = builder_->GetText(); in Symbolize()
170 builder_->WriteMIPSabiflagsSection(); in Symbolize()
172 builder_->PrepareDynamicSection(elf_file->GetPath(), in Symbolize()
179 builder_->WriteDynamicSection(); in Symbolize()
213 debug::WriteDebugInfo(builder_.get(), in Symbolize()
218 builder_->End(); in Symbolize()
[all …]