Lines Matching refs:XCOFFObjectFile

90 XCOFFObjectFile::getAdvancedSymbolEntryAddress(uintptr_t CurrentAddress,  in getAdvancedSymbolEntryAddress()
96 XCOFFObjectFile::getSymbolAuxType(uintptr_t AuxEntryAddress) const { in getSymbolAuxType()
102 void XCOFFObjectFile::checkSectionAddress(uintptr_t Addr, in checkSectionAddress()
117 XCOFFObjectFile::toSection32(DataRefImpl Ref) const { in toSection32()
126 XCOFFObjectFile::toSection64(DataRefImpl Ref) const { in toSection64()
134 XCOFFSymbolRef XCOFFObjectFile::toSymbolRef(DataRefImpl Ref) const { in toSymbolRef()
142 const XCOFFFileHeader32 *XCOFFObjectFile::fileHeader32() const { in fileHeader32()
147 const XCOFFFileHeader64 *XCOFFObjectFile::fileHeader64() const { in fileHeader64()
152 const XCOFFAuxiliaryHeader32 *XCOFFObjectFile::auxiliaryHeader32() const { in auxiliaryHeader32()
157 const XCOFFAuxiliaryHeader64 *XCOFFObjectFile::auxiliaryHeader64() const { in auxiliaryHeader64()
162 template <typename T> const T *XCOFFObjectFile::sectionHeaderTable() const { in sectionHeaderTable()
167 XCOFFObjectFile::sectionHeaderTable32() const { in sectionHeaderTable32()
173 XCOFFObjectFile::sectionHeaderTable64() const { in sectionHeaderTable64()
178 void XCOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
191 XCOFFObjectFile::getStringTableEntry(uint32_t Offset) const { in getStringTableEntry()
208 StringRef XCOFFObjectFile::getStringTable() const { in getStringTable()
216 XCOFFObjectFile::getCFileName(const XCOFFFileAuxEnt *CFileEntPtr) const { in getCFileName()
222 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
226 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress()
230 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl()
234 uint32_t XCOFFObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment()
249 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl()
268 XCOFFObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
298 SecName = XCOFFObjectFile::toSection64(SecDRIOrErr.get())->getName(); in getSymbolType()
300 SecName = XCOFFObjectFile::toSection32(SecDRIOrErr.get())->getName(); in getSymbolType()
317 XCOFFObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection()
330 void XCOFFObjectFile::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext()
335 Expected<StringRef> XCOFFObjectFile::getSectionName(DataRefImpl Sec) const { in getSectionName()
339 uint64_t XCOFFObjectFile::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress()
348 uint64_t XCOFFObjectFile::getSectionIndex(DataRefImpl Sec) const { in getSectionIndex()
357 uint64_t XCOFFObjectFile::getSectionSize(DataRefImpl Sec) const { in getSectionSize()
367 XCOFFObjectFile::getSectionContents(DataRefImpl Sec) const { in getSectionContents()
389 uint64_t XCOFFObjectFile::getSectionAlignment(DataRefImpl Sec) const { in getSectionAlignment()
395 Expected<uintptr_t> XCOFFObjectFile::getLoaderSectionAddress() const { in getLoaderSectionAddress()
432 bool XCOFFObjectFile::isSectionCompressed(DataRefImpl Sec) const { in isSectionCompressed()
436 bool XCOFFObjectFile::isSectionText(DataRefImpl Sec) const { in isSectionText()
440 bool XCOFFObjectFile::isSectionData(DataRefImpl Sec) const { in isSectionData()
445 bool XCOFFObjectFile::isSectionBSS(DataRefImpl Sec) const { in isSectionBSS()
450 bool XCOFFObjectFile::isDebugSection(DataRefImpl Sec) const { in isDebugSection()
455 bool XCOFFObjectFile::isSectionVirtual(DataRefImpl Sec) const { in isSectionVirtual()
460 relocation_iterator XCOFFObjectFile::section_rel_begin(DataRefImpl Sec) const { in section_rel_begin()
486 relocation_iterator XCOFFObjectFile::section_rel_end(DataRefImpl Sec) const { in section_rel_end()
512 void XCOFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
519 uint64_t XCOFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
552 symbol_iterator XCOFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
572 uint64_t XCOFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
578 void XCOFFObjectFile::getRelocationTypeName( in getRelocationTypeName()
591 Expected<uint32_t> XCOFFObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
631 basic_symbol_iterator XCOFFObjectFile::symbol_begin() const { in symbol_begin()
637 basic_symbol_iterator XCOFFObjectFile::symbol_end() const { in symbol_end()
644 section_iterator XCOFFObjectFile::section_begin() const { in section_begin()
650 section_iterator XCOFFObjectFile::section_end() const { in section_end()
657 uint8_t XCOFFObjectFile::getBytesInAddress() const { return is64Bit() ? 8 : 4; } in getBytesInAddress()
659 StringRef XCOFFObjectFile::getFileFormatName() const { in getFileFormatName()
663 Triple::ArchType XCOFFObjectFile::getArch() const { in getArch()
667 SubtargetFeatures XCOFFObjectFile::getFeatures() const { in getFeatures()
671 bool XCOFFObjectFile::isRelocatableObject() const { in isRelocatableObject()
677 Expected<uint64_t> XCOFFObjectFile::getStartAddress() const { in getStartAddress()
683 StringRef XCOFFObjectFile::mapDebugSectionName(StringRef Name) const { in mapDebugSectionName()
699 size_t XCOFFObjectFile::getFileHeaderSize() const { in getFileHeaderSize()
703 size_t XCOFFObjectFile::getSectionHeaderSize() const { in getSectionHeaderSize()
708 bool XCOFFObjectFile::is64Bit() const { in is64Bit()
712 Expected<StringRef> XCOFFObjectFile::getRawData(const char *Start, in getRawData()
725 uint16_t XCOFFObjectFile::getMagic() const { in getMagic()
729 Expected<DataRefImpl> XCOFFObjectFile::getSectionByNum(int16_t Num) const { in getSectionByNum()
742 XCOFFObjectFile::getSymbolSectionName(XCOFFSymbolRef SymEntPtr) const { in getSymbolSectionName()
761 unsigned XCOFFObjectFile::getSymbolSectionID(SymbolRef Sym) const { in getSymbolSectionID()
766 bool XCOFFObjectFile::isReservedSectionNumber(int16_t SectionNumber) { in isReservedSectionNumber()
770 uint16_t XCOFFObjectFile::getNumberOfSections() const { in getNumberOfSections()
775 int32_t XCOFFObjectFile::getTimeStamp() const { in getTimeStamp()
779 uint16_t XCOFFObjectFile::getOptionalHeaderSize() const { in getOptionalHeaderSize()
784 uint32_t XCOFFObjectFile::getSymbolTableOffset32() const { in getSymbolTableOffset32()
788 int32_t XCOFFObjectFile::getRawNumberOfSymbolTableEntries32() const { in getRawNumberOfSymbolTableEntries32()
795 uint32_t XCOFFObjectFile::getLogicalNumberOfSymbolTableEntries32() const { in getLogicalNumberOfSymbolTableEntries32()
801 uint64_t XCOFFObjectFile::getSymbolTableOffset64() const { in getSymbolTableOffset64()
805 uint32_t XCOFFObjectFile::getNumberOfSymbolTableEntries64() const { in getNumberOfSymbolTableEntries64()
809 uint32_t XCOFFObjectFile::getNumberOfSymbolTableEntries() const { in getNumberOfSymbolTableEntries()
814 uintptr_t XCOFFObjectFile::getEndOfSymbolTableAddress() const { in getEndOfSymbolTableAddress()
820 void XCOFFObjectFile::checkSymbolEntryPointer(uintptr_t SymbolEntPtr) const { in checkSymbolEntryPointer()
835 uint32_t XCOFFObjectFile::getSymbolIndex(uintptr_t SymbolEntPtr) const { in getSymbolIndex()
841 uint64_t XCOFFObjectFile::getSymbolSize(DataRefImpl Symb) const { in getSymbolSize()
860 uintptr_t XCOFFObjectFile::getSymbolEntryAddressByIndex(uint32_t Index) const { in getSymbolEntryAddressByIndex()
866 XCOFFObjectFile::getSymbolNameByIndex(uint32_t Index) const { in getSymbolNameByIndex()
879 uint16_t XCOFFObjectFile::getFlags() const { in getFlags()
883 const char *XCOFFObjectFile::getSectionNameInternal(DataRefImpl Sec) const { in getSectionNameInternal()
887 uintptr_t XCOFFObjectFile::getSectionHeaderTableAddress() const { in getSectionHeaderTableAddress()
891 int32_t XCOFFObjectFile::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags()
895 XCOFFObjectFile::XCOFFObjectFile(unsigned int Type, MemoryBufferRef Object) in XCOFFObjectFile() function in llvm::object::XCOFFObjectFile
900 ArrayRef<XCOFFSectionHeader64> XCOFFObjectFile::sections64() const { in sections64()
907 ArrayRef<XCOFFSectionHeader32> XCOFFObjectFile::sections32() const { in sections32()
919 Expected<uint32_t> XCOFFObjectFile::getNumberOfRelocationEntries( in getNumberOfRelocationEntries()
937 Expected<ArrayRef<Reloc>> XCOFFObjectFile::relocations(const Shdr &Sec) const { in relocations()
964 XCOFFObjectFile::parseStringTable(const XCOFFObjectFile *Obj, uint64_t Offset) { in parseStringTable()
999 Expected<StringRef> XCOFFObjectFile::getImportFileTable() const { in getImportFileTable()
1045 Expected<std::unique_ptr<XCOFFObjectFile>>
1046 XCOFFObjectFile::create(unsigned Type, MemoryBufferRef MBR) { in create()
1048 std::unique_ptr<XCOFFObjectFile> Obj; in create()
1049 Obj.reset(new XCOFFObjectFile(Type, MBR)); in create()
1127 return XCOFFObjectFile::create(FileType, MemBufRef); in createXCOFFObjectFile()
1193 uintptr_t AuxAddr = XCOFFObjectFile::getAdvancedSymbolEntryAddress( in getXCOFFCsectAuxRef()
1201 uintptr_t AuxAddr = XCOFFObjectFile::getAdvancedSymbolEntryAddress( in getXCOFFCsectAuxRef()
1241 llvm::object::XCOFFObjectFile::relocations<llvm::object::XCOFFSectionHeader64,
1245 llvm::object::XCOFFObjectFile::relocations<llvm::object::XCOFFSectionHeader32,