Searched refs:ElfTypes (Results 1 – 15 of 15) sorted by relevance
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 87 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/ |
D | elf_file.cc | 39 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 …]
|
D | elf_file_impl.h | 30 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 …]
|
D | elf_file.h | 31 template <typename ElfTypes>
|
/art/compiler/debug/ |
D | elf_debug_writer.cc | 46 template <typename ElfTypes> 47 void WriteDebugInfo(ElfBuilder<ElfTypes>* builder, in WriteDebugInfo() 93 ElfDebugLineWriter<ElfTypes> line_writer(builder); in WriteDebugInfo() 103 ElfDebugInfoWriter<ElfTypes> info_writer(builder); in WriteDebugInfo() 106 ElfCompilationUnitWriter<ElfTypes> cu_writer(&info_writer); in WriteDebugInfo() 113 template <typename ElfTypes> 117 typename ElfTypes::Addr text_section_address, in MakeMiniDebugInfoInternal() 119 typename ElfTypes::Addr dex_section_address, in MakeMiniDebugInfoInternal() 125 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in MakeMiniDebugInfoInternal() 180 using ElfTypes = ElfRuntimeTypes; in MakeElfFileForJIT() typedef [all …]
|
D | elf_debug_writer.h | 39 template <typename ElfTypes> 41 ElfBuilder<ElfTypes>* builder,
|
D | elf_symtab_writer.h | 47 template <typename ElfTypes> 48 static void WriteDebugSymbols(ElfBuilder<ElfTypes>* builder, in WriteDebugSymbols() 109 typename ElfTypes::Word dex_name = strtab->Write(kDexFileSymbolName); in WriteDebugSymbols()
|
D | elf_debug_line_writer.h | 37 template<typename ElfTypes> 39 using Elf_Addr = typename ElfTypes::Addr; 42 explicit ElfDebugLineWriter(ElfBuilder<ElfTypes>* builder) : builder_(builder) { in ElfDebugLineWriter() 274 ElfBuilder<ElfTypes>* builder_;
|
D | elf_debug_frame_writer.h | 150 template<typename ElfTypes> 151 void WriteCFISection(ElfBuilder<ElfTypes>* builder, in WriteCFISection() 153 typedef typename ElfTypes::Addr Elf_Addr; in WriteCFISection()
|
D | elf_debug_info_writer.h | 58 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_;
|
/art/libelffile/elf/ |
D | elf_debug_reader.h | 34 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;
|
D | elf_builder.h | 69 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/utils/ |
D | assembler_test_base.h | 201 using ElfTypes = typename std::conditional<IsElf64, ElfTypes64, ElfTypes32>::type; in ReadElf() local 203 ElfDebugReader<ElfTypes> reader((ArrayRef<const uint8_t>(data))); in ReadElf() 204 const typename ElfTypes::Shdr* text = reader.GetSection(".text"); in ReadElf() 212 using ElfTypes = typename std::conditional<IsElf64, ElfTypes64, ElfTypes32>::type; in WriteElf() local 216 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in WriteElf()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 60 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/ |
D | oatdump.cc | 130 template <typename ElfTypes> 152 builder_.reset(new ElfBuilder<ElfTypes>(isa, output_stream.get())); in Symbolize() 327 std::unique_ptr<ElfBuilder<ElfTypes>> builder_;
|