Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Delf_writer_quick.cc130 std::unique_ptr<ElfBuilder<ElfTypes>> builder_; member in art::linker::ElfWriterQuick
160 builder_(new ElfBuilder<ElfTypes>(compiler_options_.GetInstructionSet(), in ElfWriterQuick()
168 builder_->Start(); in Start()
170 builder_->GetBuildId()->AllocateVirtualMemory(builder_->GetBuildId()->GetSize()); in Start()
171 builder_->WriteBuildIdSection(); in Start()
193 builder_->PrepareDynamicSection(elf_file_->GetPath(), in PrepareDynamicSection()
205 auto* rodata = builder_->GetRoData(); in StartRoData()
212 CHECK_EQ(builder_->GetRoData(), rodata); in EndRoData()
213 builder_->GetRoData()->End(); in EndRoData()
218 auto* text = builder_->GetText(); in StartText()
[all …]
/art/compiler/debug/
Delf_debug_line_writer.h42 explicit ElfDebugLineWriter(ElfBuilder<ElfTypes>* builder) : builder_(builder) { in ElfDebugLineWriter()
46 builder_->GetDebugLine()->Start(); in Start()
52 const InstructionSet isa = builder_->GetIsa(); in WriteCompilationUnit()
55 ? builder_->GetText()->GetAddress() in WriteCompilationUnit()
58 compilation_unit.debug_line_offset = builder_->GetDebugLine()->GetPosition(); in WriteCompilationUnit()
265 builder_->GetDebugLine()->WriteFully(buffer.data(), buffer.size()); in WriteCompilationUnit()
270 builder_->GetDebugLine()->End(); in End()
274 ElfBuilder<ElfTypes>* builder_;
Delf_debug_info_writer.h64 : builder_(builder), in ElfDebugInfoWriter()
69 builder_->GetDebugInfo()->Start(); in Start()
73 builder_->GetDebugInfo()->End(); in End()
74 builder_->WriteSection(".debug_abbrev", &debug_abbrev_buffer_); in End()
76 builder_->WriteSection(".debug_loc", &debug_loc_); in End()
79 builder_->WriteSection(".debug_ranges", &debug_ranges_); in End()
84 ElfBuilder<ElfTypes>* builder_;
105 info_(Is64BitInstructionSet(owner_->builder_->GetIsa()), &owner->debug_abbrev_) { in ElfCompilationUnitWriter()
111 ? owner_->builder_->GetText()->GetAddress() in Write()
113 const bool is64bit = Is64BitInstructionSet(owner_->builder_->GetIsa()); in Write()
[all …]
/art/oatdump/
Doatdump.cc135 builder_(nullptr), in OatSymbolizer()
152 builder_.reset(new ElfBuilder<ElfTypes>(isa, output_stream.get())); in Symbolize()
154 builder_->Start(); in Symbolize()
156 auto* rodata = builder_->GetRoData(); in Symbolize()
157 auto* text = builder_->GetText(); in Symbolize()
175 builder_->PrepareDynamicSection(elf_file->GetPath(), in Symbolize()
183 builder_->WriteDynamicSection(); in Symbolize()
216 debug::WriteDebugInfo(builder_.get(), debug_info); in Symbolize()
218 builder_->End(); in Symbolize()
220 bool ret_value = builder_->Good(); in Symbolize()
[all …]