Lines Matching refs:pInput
45 bool ELFDynObjReader::isMyFormat(Input& pInput, bool& pContinue) const { in isMyFormat() argument
46 assert(pInput.hasMemArea()); in isMyFormat()
51 if (pInput.memArea()->size() < hdr_size) in isMyFormat()
55 pInput.memArea()->request(pInput.fileOffset(), hdr_size); in isMyFormat()
76 bool ELFDynObjReader::readHeader(Input& pInput) { in readHeader() argument
77 assert(pInput.hasMemArea()); in readHeader()
81 pInput.memArea()->request(pInput.fileOffset(), hdr_size); in readHeader()
84 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader()
87 bool dyn_result = m_pELFReader->readDynamic(pInput); in readHeader()
93 bool ELFDynObjReader::readSymbols(Input& pInput) { in readSymbols() argument
94 assert(pInput.hasMemArea()); in readSymbols()
96 LDSection* symtab_shdr = pInput.context()->getSection(".dynsym"); in readSymbols()
98 note(diag::note_has_no_symtab) << pInput.name() << pInput.path() in readSymbols()
105 fatal(diag::fatal_cannot_read_strtab) << pInput.name() << pInput.path() in readSymbols()
110 llvm::StringRef symtab_region = pInput.memArea()->request( in readSymbols()
111 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size()); in readSymbols()
113 llvm::StringRef strtab_region = pInput.memArea()->request( in readSymbols()
114 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size()); in readSymbols()
117 m_pELFReader->readSymbols(pInput, m_Builder, symtab_region, strtab); in readSymbols()