Home
last modified time | relevance | path

Searched refs:ElfTypes (Results 1 – 14 of 14) sorted by relevance

/art/dex2oat/linker/
Delf_writer_quick.cc87 template <typename ElfTypes>
130 std::unique_ptr<ElfBuilder<ElfTypes>> builder_;
134 void ComputeFileBuildId(uint8_t (*build_id)[ElfBuilder<ElfTypes>::kBuildIdLen]);
148 template <typename ElfTypes>
149 ElfWriterQuick<ElfTypes>::ElfWriterQuick(const CompilerOptions& compiler_options, File* elf_file) in ElfWriterQuick()
160 builder_(new ElfBuilder<ElfTypes>(compiler_options_.GetInstructionSet(), in ElfWriterQuick()
163 template <typename ElfTypes>
164 ElfWriterQuick<ElfTypes>::~ElfWriterQuick() {} in ~ElfWriterQuick()
166 template <typename ElfTypes>
167 void ElfWriterQuick<ElfTypes>::Start() { in Start()
[all …]
/art/runtime/
Delf_file.cc39 template <typename ElfTypes>
40 ElfFileImpl<ElfTypes>::ElfFileImpl(File* file, bool writable, bool program_header_only) in ElfFileImpl()
59 template <typename ElfTypes>
60 ElfFileImpl<ElfTypes>* ElfFileImpl<ElfTypes>::Open(File* file, in Open()
65 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file( in Open()
66 new ElfFileImpl<ElfTypes>(file, writable, program_header_only)); in Open()
82 template <typename ElfTypes>
83 ElfFileImpl<ElfTypes>* ElfFileImpl<ElfTypes>::Open(File* file, in Open()
88 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file( in Open()
89 new ElfFileImpl<ElfTypes>(file, (prot & PROT_WRITE) != 0, /* program_header_only= */ false)); in Open()
[all …]
Delf_file_impl.h30 template <typename ElfTypes>
33 using Elf_Addr = typename ElfTypes::Addr;
34 using Elf_Off = typename ElfTypes::Off;
35 using Elf_Half = typename ElfTypes::Half;
36 using Elf_Word = typename ElfTypes::Word;
37 using Elf_Sword = typename ElfTypes::Sword;
38 using Elf_Ehdr = typename ElfTypes::Ehdr;
39 using Elf_Shdr = typename ElfTypes::Shdr;
40 using Elf_Sym = typename ElfTypes::Sym;
41 using Elf_Rel = typename ElfTypes::Rel;
[all …]
Delf_file.h31 template <typename ElfTypes>
/art/compiler/debug/
Delf_debug_writer.cc45 template <typename ElfTypes>
46 void WriteDebugInfo(ElfBuilder<ElfTypes>* builder, in WriteDebugInfo()
92 ElfDebugLineWriter<ElfTypes> line_writer(builder); in WriteDebugInfo()
102 ElfDebugInfoWriter<ElfTypes> info_writer(builder); in WriteDebugInfo()
105 ElfCompilationUnitWriter<ElfTypes> cu_writer(&info_writer); in WriteDebugInfo()
112 template <typename ElfTypes>
116 typename ElfTypes::Addr text_section_address, in MakeMiniDebugInfoInternal()
118 typename ElfTypes::Addr dex_section_address, in MakeMiniDebugInfoInternal()
124 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in MakeMiniDebugInfoInternal()
179 using ElfTypes = ElfRuntimeTypes; in MakeElfFileForJIT() typedef
[all …]
Delf_debug_writer.h38 template <typename ElfTypes>
40 ElfBuilder<ElfTypes>* builder,
Delf_symtab_writer.h47 template <typename ElfTypes>
48 static void WriteDebugSymbols(ElfBuilder<ElfTypes>* builder, in WriteDebugSymbols()
109 typename ElfTypes::Word dex_name = strtab->Write(kDexFileSymbolName); in WriteDebugSymbols()
Delf_debug_line_writer.h37 template<typename ElfTypes>
39 using Elf_Addr = typename ElfTypes::Addr;
42 explicit ElfDebugLineWriter(ElfBuilder<ElfTypes>* builder) : builder_(builder) { in ElfDebugLineWriter()
276 ElfBuilder<ElfTypes>* builder_;
Delf_debug_info_writer.h58 template<typename ElfTypes>
60 using Elf_Addr = typename ElfTypes::Addr;
63 explicit ElfDebugInfoWriter(ElfBuilder<ElfTypes>* builder) in ElfDebugInfoWriter()
84 ElfBuilder<ElfTypes>* builder_;
98 template<typename ElfTypes>
100 using Elf_Addr = typename ElfTypes::Addr;
103 explicit ElfCompilationUnitWriter(ElfDebugInfoWriter<ElfTypes>* owner) in ElfCompilationUnitWriter()
662 ElfDebugInfoWriter<ElfTypes>* owner_;
Delf_debug_frame_writer.h170 template<typename ElfTypes>
171 void WriteCFISection(ElfBuilder<ElfTypes>* builder, in WriteCFISection()
173 typedef typename ElfTypes::Addr Elf_Addr; in WriteCFISection()
/art/libelffile/elf/
Delf_debug_reader.h34 template <typename ElfTypes>
38 typedef typename ElfTypes::Ehdr ALIGNED(1) Elf_Ehdr;
39 typedef typename ElfTypes::Shdr ALIGNED(1) Elf_Shdr;
40 typedef typename ElfTypes::Sym ALIGNED(1) Elf_Sym;
41 typedef typename ElfTypes::Addr ALIGNED(1) Elf_Addr;
Delf_builder.h69 template <typename ElfTypes>
77 using Elf_Addr = typename ElfTypes::Addr;
78 using Elf_Off = typename ElfTypes::Off;
79 using Elf_Word = typename ElfTypes::Word;
80 using Elf_Sword = typename ElfTypes::Sword;
81 using Elf_Ehdr = typename ElfTypes::Ehdr;
82 using Elf_Shdr = typename ElfTypes::Shdr;
83 using Elf_Sym = typename ElfTypes::Sym;
84 using Elf_Phdr = typename ElfTypes::Phdr;
85 using Elf_Dyn = typename ElfTypes::Dyn;
[all …]
/art/compiler/debug/dwarf/
Ddwarf_test.h60 template<typename ElfTypes>
64 (sizeof(typename ElfTypes::Addr) == 8) ? InstructionSet::kX86_64 : InstructionSet::kX86; in Objdump()
67 ElfBuilder<ElfTypes> builder(isa, &output_stream); in Objdump()
/art/oatdump/
Doatdump.cc134 template <typename ElfTypes>
156 builder_.reset(new ElfBuilder<ElfTypes>(isa, output_stream.get())); in Symbolize()
330 std::unique_ptr<ElfBuilder<ElfTypes>> builder_;