Home
last modified time | relevance | path

Searched refs:ElfFile (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.cpp610 for (const auto &Phdr : unwrapOrError(ElfFile.program_headers())) { in readProgramHeaders()
611 ArrayRef<uint8_t> Data{ElfFile.base() + Phdr.p_offset, in readProgramHeaders()
647 const auto &Ehdr = *ElfFile.getHeader(); in readProgramHeaders()
703 const Elf_Shdr &Shdr = *unwrapOrError(ElfFile.getSection(SymTab->Index)); in initSymbolTable()
704 StringRef StrTabData = unwrapOrError(ElfFile.getStringTableForSymtab(Shdr)); in initSymbolTable()
707 auto Symbols = unwrapOrError(ElfFile.symbols(&Shdr)); in initSymbolTable()
718 *unwrapOrError(ElfFile.getSection(SymTab->getShndxTable()->Index)); in initSymbolTable()
720 ElfFile.template getSectionContentsAsArray<Elf_Word>(&ShndxSec)); in initSymbolTable()
791 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
800 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
[all …]
DObject.h633 const ELFFile<ELFT> &ElfFile; variable
645 : ElfFile(*ElfObj.getELFFile()), Obj(Obj) {} in ELFBuilder()