Home
last modified time | relevance | path

Searched refs:ELFT (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/Object/
DELF.h36 template <class ELFT>
39 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT)
40 typedef typename std::conditional<ELFT::Is64Bits,
43 typedef Elf_Ehdr_Impl<ELFT> Elf_Ehdr;
44 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr;
45 typedef Elf_Sym_Impl<ELFT> Elf_Sym;
46 typedef Elf_Dyn_Impl<ELFT> Elf_Dyn;
47 typedef Elf_Phdr_Impl<ELFT> Elf_Phdr;
48 typedef Elf_Rel_Impl<ELFT, false> Elf_Rel;
49 typedef Elf_Rel_Impl<ELFT, true> Elf_Rela;
[all …]
DELFObjectFile.h185 template <class ELFT> class ELFObjectFile : public ELFObjectFileBase {
190 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT)
192 typedef typename ELFFile<ELFT>::uintX_t uintX_t;
194 typedef typename ELFFile<ELFT>::Elf_Sym Elf_Sym;
195 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
196 typedef typename ELFFile<ELFT>::Elf_Ehdr Elf_Ehdr;
197 typedef typename ELFFile<ELFT>::Elf_Rel Elf_Rel;
198 typedef typename ELFFile<ELFT>::Elf_Rela Elf_Rela;
199 typedef typename ELFFile<ELFT>::Elf_Dyn Elf_Dyn;
202 ELFFile<ELFT> EF;
[all …]
DELFTypes.h24 template <class ELFT> struct Elf_Ehdr_Impl;
25 template <class ELFT> struct Elf_Shdr_Impl;
26 template <class ELFT> struct Elf_Sym_Impl;
27 template <class ELFT> struct Elf_Dyn_Impl;
28 template <class ELFT> struct Elf_Phdr_Impl;
29 template <class ELFT, bool isRela> struct Elf_Rel_Impl;
30 template <class ELFT> struct Elf_Verdef_Impl;
31 template <class ELFT> struct Elf_Verdaux_Impl;
32 template <class ELFT> struct Elf_Verneed_Impl;
33 template <class ELFT> struct Elf_Vernaux_Impl;
[all …]
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp51 #define TYPEDEF_ELF_TYPES(ELFT) \ argument
52 typedef ELFFile<ELFT> ELFO; \
70 template <class ELFT> class DumpStyle;
97 template<typename ELFT>
100 ELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer);
130 std::unique_ptr<DumpStyle<ELFT>> ELFDumperStyle;
131 typedef ELFFile<ELFT> ELFO;
246 template <class ELFT>
247 void ELFDumper<ELFT>::printSymbolsHelper(bool IsDynamic) const { in printSymbolsHelper()
272 template <typename ELFT> class DumpStyle {
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp22 template <class ELFT>
24 typedef object::Elf_Sym_Impl<ELFT> Elf_Sym;
25 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
26 typedef typename object::ELFFile<ELFT>::Elf_Word Elf_Word;
28 const object::ELFFile<ELFT> &Obj;
49 ELFDumper(const object::ELFFile<ELFT> &O);
55 template <class ELFT>
56 ELFDumper<ELFT>::ELFDumper(const object::ELFFile<ELFT> &O) in ELFDumper()
59 template <class ELFT>
60 ErrorOr<ELFYAML::Object *> ELFDumper<ELFT>::dump() { in dump()
[all …]
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp99 template <class ELFT>
101 typedef typename object::ELFFile<ELFT>::Elf_Ehdr Elf_Ehdr;
102 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
103 typedef typename object::ELFFile<ELFT>::Elf_Sym Elf_Sym;
104 typedef typename object::ELFFile<ELFT>::Elf_Rel Elf_Rel;
105 typedef typename object::ELFFile<ELFT>::Elf_Rela Elf_Rela;
158 template <class ELFT>
159 void ELFState<ELFT>::initELFHeader(Elf_Ehdr &Header) { in initELFHeader()
166 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in initELFHeader()
167 bool IsLittleEndian = ELFT::TargetEndianness == support::little; in initELFHeader()
[all …]
/external/llvm/tools/llvm-objdump/
DELFDump.cpp24 template <class ELFT> void printProgramHeaders(const ELFFile<ELFT> *o) { in printProgramHeaders()
25 typedef ELFFile<ELFT> ELFO; in printProgramHeaders()
54 const char *Fmt = ELFT::Is64Bits ? "0x%016" PRIx64 " " : "0x%08" PRIx64 " "; in printProgramHeaders()
Dllvm-objdump.cpp486 template <class ELFT>
487 static std::error_code getRelocationValueString(const ELFObjectFile<ELFT> *Obj, in getRelocationValueString()
492 typedef typename ELFObjectFile<ELFT>::Elf_Sym Elf_Sym; in getRelocationValueString()
493 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr; in getRelocationValueString()
494 typedef typename ELFObjectFile<ELFT>::Elf_Rela Elf_Rela; in getRelocationValueString()
496 const ELFFile<ELFT> &EF = *Obj->getELFFile(); in getRelocationValueString()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp35 template <class ELFT> class DyldELFObject : public ELFObjectFile<ELFT> {
36 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT)
38 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr;
39 typedef Elf_Sym_Impl<ELFT> Elf_Sym;
40 typedef Elf_Rel_Impl<ELFT, false> Elf_Rel;
41 typedef Elf_Rel_Impl<ELFT, true> Elf_Rela;
43 typedef Elf_Ehdr_Impl<ELFT> Elf_Ehdr;
45 typedef typename ELFDataTypeTypedefHelper<ELFT>::value_type addr_type;
56 return (isa<ELFObjectFile<ELFT>>(v) && in classof()
57 classof(cast<ELFObjectFile<ELFT>>(v))); in classof()
[all …]
/external/clang/test/CodeGenCXX/
Dcrash.cpp26 template <class ELFT> void finalizeDefaultAtomValues() { in finalizeDefaultAtomValues()