/external/llvm/include/llvm/Object/ |
D | ELF.h | 37 class ELFFile { 99 ELFFile(StringRef Object, std::error_code &EC); 206 typedef ELFFile<ELFType<support::little, false>> ELF32LEFile; 207 typedef ELFFile<ELFType<support::little, true>> ELF64LEFile; 208 typedef ELFFile<ELFType<support::big, false>> ELF32BEFile; 209 typedef ELFFile<ELFType<support::big, true>> ELF64BEFile; 212 uint32_t ELFFile<ELFT>::getExtendedSymbolTableIndex( in getExtendedSymbolTableIndex() 219 uint32_t ELFFile<ELFT>::getExtendedSymbolTableIndex( in getExtendedSymbolTableIndex() 230 ErrorOr<const typename ELFFile<ELFT>::Elf_Shdr *> 231 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getSection() [all …]
|
D | ELFObjectFile.h | 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; 341 const ELFFile<ELFT> *getELFFile() const { return &EF; } in getELFFile()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELF.h | 51 template <class ELFT> class ELFFile; variable 54 std::string getSecIndexForError(const ELFFile<ELFT> *Obj, in getSecIndexForError() 72 class ELFFile { 116 ELFFile(StringRef Object); 151 static Expected<ELFFile> create(StringRef Object); 304 using ELF32LEFile = ELFFile<ELF32LE>; 305 using ELF64LEFile = ELFFile<ELF64LE>; 306 using ELF32BEFile = ELFFile<ELF32BE>; 307 using ELF64BEFile = ELFFile<ELF64BE>; 336 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, in getSectionIndex() [all …]
|
D | ELFObjectFile.h | 247 ELFObjectFile(MemoryBufferRef Object, ELFFile<ELFT> EF, 252 ELFFile<ELFT> EF; 431 const ELFFile<ELFT> *getELFFile() const { return &EF; } in getELFFile() 949 auto EFOrErr = ELFFile<ELFT>::create(Object.getBuffer()); in create() 987 ELFObjectFile<ELFT>::ELFObjectFile(MemoryBufferRef Object, ELFFile<ELFT> EF, in ELFObjectFile()
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ELF.h | 58 template <class ELFT> class ELFFile; variable 61 std::string getSecIndexForError(const ELFFile<ELFT> &Obj, in getSecIndexForError() 75 std::string getPhdrIndexForError(const ELFFile<ELFT> &Obj, in getPhdrIndexForError() 90 class ELFFile { 134 ELFFile(StringRef Object); 169 static Expected<ELFFile> create(StringRef Object); 324 using ELF32LEFile = ELFFile<ELF32LE>; 325 using ELF64LEFile = ELFFile<ELF64LE>; 326 using ELF32BEFile = ELFFile<ELF32BE>; 327 using ELF64BEFile = ELFFile<ELF64BE>; [all …]
|
D | ELFObjectFile.h | 256 ELFObjectFile(MemoryBufferRef Object, ELFFile<ELFT> EF, 263 ELFFile<ELFT> EF; 448 const ELFFile<ELFT> &getELFFile() const { return EF; } in getELFFile() 1036 auto EFOrErr = ELFFile<ELFT>::create(Object.getBuffer()); in create() 1049 ELFObjectFile<ELFT>::ELFObjectFile(MemoryBufferRef Object, ELFFile<ELFT> EF, in ELFObjectFile()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ELF.cpp | 272 ELFFile<ELFT>::decode_relrs(Elf_Relr_Range relrs) const { in decode_relrs() 351 ELFFile<ELFT>::android_relas(const Elf_Shdr *Sec) const { in android_relas() 431 std::string ELFFile<ELFT>::getDynamicTagAsString(unsigned Arch, in getDynamicTagAsString() 495 std::string ELFFile<ELFT>::getDynamicTagAsString(uint64_t Type) const { in getDynamicTagAsString() 500 Expected<typename ELFT::DynRange> ELFFile<ELFT>::dynamicEntries() const { in dynamicEntries() 557 Expected<const uint8_t *> ELFFile<ELFT>::toMappedAddr(uint64_t VAddr) const { in toMappedAddr() 586 template class llvm::object::ELFFile<ELF32LE>; member in llvm::object 587 template class llvm::object::ELFFile<ELF32BE>; member in llvm::object 588 template class llvm::object::ELFFile<ELF64LE>; member in llvm::object 589 template class llvm::object::ELFFile<ELF64BE>; member in llvm::object
|
/external/llvm-project/llvm/lib/Object/ |
D | ELF.cpp | 292 ELFFile<ELFT>::decode_relrs(Elf_Relr_Range relrs) const { in decode_relrs() 370 ELFFile<ELFT>::android_relas(const Elf_Shdr &Sec) const { in android_relas() 450 std::string ELFFile<ELFT>::getDynamicTagAsString(unsigned Arch, in getDynamicTagAsString() 514 std::string ELFFile<ELFT>::getDynamicTagAsString(uint64_t Type) const { in getDynamicTagAsString() 519 Expected<typename ELFT::DynRange> ELFFile<ELFT>::dynamicEntries() const { in dynamicEntries() 569 Expected<const uint8_t *> ELFFile<ELFT>::toMappedAddr(uint64_t VAddr) const { in toMappedAddr() 609 template class llvm::object::ELFFile<ELF32LE>; member in llvm::object 610 template class llvm::object::ELFFile<ELF32BE>; member in llvm::object 611 template class llvm::object::ELFFile<ELF64LE>; member in llvm::object 612 template class llvm::object::ELFFile<ELF64BE>; member in llvm::object
|
/external/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 24 template <class ELFT> void printProgramHeaders(const ELFFile<ELFT> *o) { in printProgramHeaders() 25 typedef ELFFile<ELFT> ELFO; in printProgramHeaders()
|
/external/llvm/tools/llvm-readobj/ |
D | ARMEHABIPrinter.h | 309 typedef typename object::ELFFile<ET>::Elf_Sym Elf_Sym; 310 typedef typename object::ELFFile<ET>::Elf_Shdr Elf_Shdr; 311 typedef typename object::ELFFile<ET>::Elf_Rel Elf_Rel; 312 typedef typename object::ELFFile<ET>::Elf_Word Elf_Word; 315 const object::ELFFile<ET> *ELF; 338 PrinterContext(ScopedPrinter &SW, const object::ELFFile<ET> *ELF, in PrinterContext() 371 const typename object::ELFFile<ET>::Elf_Shdr * 394 typename object::ELFFile<ET>::Elf_Rela RelA; in FindExceptionTable()
|
D | ELFDumper.cpp | 52 typedef ELFFile<ELFT> ELFO; \ 100 ELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer); 131 typedef ELFFile<ELFT> ELFO; 274 using Elf_Shdr = typename ELFFile<ELFT>::Elf_Shdr; 275 using Elf_Sym = typename ELFFile<ELFT>::Elf_Sym; 279 virtual void printFileHeaders(const ELFFile<ELFT> *Obj) = 0; 280 virtual void printGroupSections(const ELFFile<ELFT> *Obj) = 0; 281 virtual void printRelocations(const ELFFile<ELFT> *Obj) = 0; 282 virtual void printSections(const ELFFile<ELFT> *Obj) = 0; 283 virtual void printSymbols(const ELFFile<ELFT> *Obj) = 0; [all …]
|
/external/llvm-project/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 28 static Expected<StringRef> getDynamicStrTab(const ELFFile<ELFT> &Elf) { in getDynamicStrTab() 59 const ELFFile<ELFT> &EF = Obj->getELFFile(); in getRelocationValueString() 136 static uint64_t getSectionLMA(const ELFFile<ELFT> &Obj, in getSectionLMA() 165 static void printDynamicSection(const ELFFile<ELFT> &Elf, StringRef Filename) { in printDynamicSection() 202 static void printProgramHeaders(const ELFFile<ELFT> &Obj, StringRef FileName) { in printProgramHeaders() 331 static void printSymbolVersionInfo(const ELFFile<ELFT> &Elf, in printSymbolVersionInfo()
|
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
D | ELF_x86_64.cpp | 205 using SymbolTable = object::ELFFile<object::ELF64LE>::Elf_Shdr; 239 const object::ELFFile<object::ELF64LE> &Obj; 240 object::ELFFile<object::ELF64LE>::Elf_Shdr_Range sections; 246 getEndianness(const object::ELFFile<object::ELF64LE> &Obj) { in getEndianness() 251 unsigned getPointerSize(const object::ELFFile<object::ELF64LE> &Obj) { in getPointerSize() 457 std::vector<std::vector<object::ELFFile<object::ELF64LE>::Elf_Shdr_Range *>> in graphifyRegularSymbols() 574 const object::ELFFile<object::ELF64LE> &Obj) in ELFLinkGraphBuilder_x86_64()
|
/external/llvm-project/lld/ELF/ |
D | InputFiles.h | 162 template <typename ELFT> llvm::object::ELFFile<ELFT> getObj() const { in getObj() 163 return check(llvm::object::ELFFile<ELFT>::create(mb.getBuffer())); in getObj() 198 llvm::object::ELFFile<ELFT> getObj() const { in getObj() 393 std::vector<uint32_t> parseVerneed(const llvm::object::ELFFile<ELFT> &obj,
|
D | InputFiles.cpp | 362 const ELFFile<ELFT> &obj = getObj<ELFT>(); in init() 564 const ELFFile<ELFT> &obj = this->getObj(); in initializeSections() 1371 std::vector<uint32_t> SharedFile::parseVerneed(const ELFFile<ELFT> &obj, in parseVerneed() 1438 const ELFFile<ELFT> obj = this->getObj<ELFT>(); in parse() 1819 ELFFile<ELFT> obj = check(ELFFile<ELFT>::create(mb.getBuffer())); in parse()
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 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; 406 typedef typename object::ELFFile<ELFT>::Elf_Word Elf_Word; in writeSectionContent()
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 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); 56 ELFDumper<ELFT>::ELFDumper(const object::ELFFile<ELFT> &O) in ELFDumper() 430 const object::ELFFile<ELFT> &Obj) { in elf2yaml()
|
/external/llvm-project/llvm/tools/llvm-gsymutil/ |
D | llvm-gsymutil.cpp | 210 getImageBaseAddress(const object::ELFFile<ELFT> &ELFFile) { in getImageBaseAddress() argument 211 auto PhdrRangeOrErr = ELFFile.program_headers(); in getImageBaseAddress()
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | DwarfCFIEHPrinter.h | 64 const object::ELFFile<ELFT> &Obj = ObjF.getELFFile(); in printUnwindInformation() 103 const object::ELFFile<ELFT> &Obj = ObjF.getELFFile(); in printEHFrameHdr()
|
D | ARMEHABIPrinter.h | 330 const object::ELFFile<ET> &ELF; 355 PrinterContext(ScopedPrinter &SW, const object::ELFFile<ET> &ELF, in PrinterContext() 438 findSectionContainingAddress(const object::ELFFile<ET> &Obj, StringRef FileName, in findSectionContainingAddress()
|
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
D | Object.cpp | 1407 Error ELFBuilder<ELFT>::readProgramHeaders(const ELFFile<ELFT> &HeadersFile) { in readProgramHeaders() 1410 Expected<typename ELFFile<ELFT>::Elf_Phdr_Range> Headers = in readProgramHeaders() 1415 for (const typename ELFFile<ELFT>::Elf_Phdr &Phdr : *Headers) { in readProgramHeaders() 1535 Expected<typename ELFFile<ELFT>::Elf_Sym_Range> Symbols = in initSymbolTable() 1540 for (const typename ELFFile<ELFT>::Elf_Sym &Sym : *Symbols) { in initSymbolTable() 1749 Expected<typename ELFFile<ELFT>::Elf_Shdr_Range> Sections = in readSectionHeaders() 1754 for (const typename ELFFile<ELFT>::Elf_Shdr &Shdr : *Sections) { in readSectionHeaders() 1842 Expected<typename ELFFile<ELFT>::Elf_Shdr_Range> Sections = in readSections() 1847 const typename ELFFile<ELFT>::Elf_Shdr *Shdr = in readSections() 1850 Expected<typename ELFFile<ELFT>::Elf_Rel_Range> Rels = in readSections() [all …]
|
D | Object.h | 894 using object::ELFFile; 943 const ELFFile<ELFT> &ElfFile; 949 Error readProgramHeaders(const ELFFile<ELFT> &HeadersFile);
|
/external/llvm-project/llvm/lib/InterfaceStub/ |
D | ELFObjHandler.cpp | 475 const ELFFile<ELFT> &ElfFile) { in getNumSyms() 588 const ELFFile<ELFT> &ElfFile = ElfObj.getELFFile(); in buildStub()
|
/external/llvm-project/llvm/tools/llvm-profgen/ |
D | ProfiledBinary.cpp | 47 static uint64_t getELFImageLMAForSec(const ELFFile<ELFT> &Obj, in getELFImageLMAForSec()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 54 const object::ELFFile<ELFT> &Obj; 113 ELFDumper(const object::ELFFile<ELFT> &O, std::unique_ptr<DWARFContext> DCtx); 120 ELFDumper<ELFT>::ELFDumper(const object::ELFFile<ELFT> &O, in ELFDumper() 1547 static Error elf2yaml(raw_ostream &Out, const object::ELFFile<ELFT> &Obj, in elf2yaml()
|