Lines Matching refs:builder
70 static void WriteDebugSymbols(ElfBuilder<ElfTypes>* builder, OatWriter* oat_writer);
154 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>( in Write() local
161 const auto* text = builder->GetText(); in Write()
202 builder->RegisterSection(eh_frame.get()); in Write()
203 builder->RegisterSection(eh_frame_hdr.get()); in Write()
211 builder->RegisterSection(debug_frame.get()); in Write()
214 builder->RegisterSection(debug_frame_oat_patches.get()); in Write()
217 WriteDebugSymbols(builder.get(), oat_writer); in Write()
225 builder->RegisterSection(debug_info.get()); in Write()
228 builder->RegisterSection(debug_info_oat_patches.get()); in Write()
229 builder->RegisterSection(debug_abbrev.get()); in Write()
230 builder->RegisterSection(debug_str.get()); in Write()
231 builder->RegisterSection(debug_line.get()); in Write()
234 builder->RegisterSection(debug_line_oat_patches.get()); in Write()
246 builder->RegisterSection(text_oat_patches.get()); in Write()
249 return builder->Write(elf_file_); in Write()
253 static void WriteDebugSymbols(ElfBuilder<ElfTypes>* builder, OatWriter* oat_writer) { in WriteDebugSymbols() argument
266 auto* symtab = builder->GetSymtab(); in WriteDebugSymbols()
279 symtab->AddSymbol(name, builder->GetText(), low_pc, in WriteDebugSymbols()
288 symtab->AddSymbol("$t", builder->GetText(), it->low_pc_ & ~1, true, in WriteDebugSymbols()