Home
last modified time | relevance | path

Searched refs:builder_ (Results 1 – 5 of 5) 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()
267 builder_->GetDebugLine()->WriteFully(buffer.data(), buffer.size()); in WriteCompilationUnit()
272 builder_->GetDebugLine()->End(); in End()
276 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.cc139 builder_(nullptr), in OatSymbolizer()
156 builder_.reset(new ElfBuilder<ElfTypes>(isa, output_stream.get())); in Symbolize()
158 builder_->Start(); in Symbolize()
160 auto* rodata = builder_->GetRoData(); in Symbolize()
161 auto* text = builder_->GetText(); in Symbolize()
179 builder_->PrepareDynamicSection(elf_file->GetPath(), in Symbolize()
187 builder_->WriteDynamicSection(); in Symbolize()
219 debug::WriteDebugInfo(builder_.get(), debug_info); in Symbolize()
221 builder_->End(); in Symbolize()
223 bool ret_value = builder_->Good(); in Symbolize()
[all …]
/art/runtime/jni/
Djni_internal.cc144 builder_ = &builder; in BuildCache()
151 memory_type_table_ = builder_->Build(); in BuildCache()
157 builder_ = nullptr; in BuildCache()
179 art::MemoryTypeTable<SharedObjectKind>::Builder* builder = cache->builder_; in VisitElfInfo()
222 art::MemoryTypeTable<SharedObjectKind>::Builder* builder_; member in __anon28b366120111::CodeRangeCache