Searched refs:XCOFFObj (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/ |
H A D | XCOFFReader.cpp | 18 ArrayRef<XCOFFSectionHeader32> Sections = XCOFFObj.sections32(); in readSections() 29 XCOFFObj.getSectionContents(SectionDRI); in readSections() 38 XCOFFObj.relocations<XCOFFSectionHeader32, XCOFFRelocation32>(Sec); in readSections() 52 Symbols.reserve(XCOFFObj.getNumberOfSymbolTableEntries()); in readSymbols() 53 for (SymbolRef Sym : XCOFFObj.symbols()) { in readSymbols() 56 XCOFFSymbolRef SymbolEntRef = XCOFFObj.toSymbolRef(SymbolDRI); in readSymbols() 62 Expected<StringRef> RawAuxEntriesOrError = XCOFFObj.getRawData( in readSymbols() 78 if (XCOFFObj.is64Bit()) in create() 82 Obj->FileHeader = *XCOFFObj.fileHeader32(); in create() 84 if (XCOFFObj.getOptionalHeaderSize()) in create() [all …]
|
H A D | XCOFFReader.h | 22 explicit XCOFFReader(const XCOFFObjectFile &O) : XCOFFObj(O) {} in XCOFFReader() 26 const XCOFFObjectFile &XCOFFObj;
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 1699 static void getXCOFFExports(XCOFFObjectFile *XCOFFObj, in getXCOFFExports() argument 1703 if (XCOFFObj->getFlags() & XCOFF::F_SHROBJ) in getXCOFFExports() 1706 for (SymbolRef Sym : XCOFFObj->symbols()) { in getXCOFFExports() 1709 XCOFFObj->is64Bit() || (XCOFFObj->auxiliaryHeader32() && in getXCOFFExports() 1710 (XCOFFObj->auxiliaryHeader32()->getVersion() == in getXCOFFExports() 1714 XCOFFSymbolRef XCOFFSym = XCOFFObj->toSymbolRef(Sym.getRawDataRefImpl()); in getXCOFFExports() 1724 warn(SymSecOrErr.takeError(), XCOFFObj->getFileName(), in getXCOFFExports() 1726 Twine(XCOFFObj->getSymbolIndex(Sym.getRawDataRefImpl().p)), in getXCOFFExports() 1732 if (SecIter == XCOFFObj->section_end()) in getXCOFFExports() 1764 XCOFFSymbolRef XCOFFSym = XCOFFObj->toSymbolRef(Sym.getRawDataRefImpl()); in getXCOFFExports() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | ArchiveWriter.cpp | 581 XCOFFObjectFile *XCOFFObj = dyn_cast_or_null<XCOFFObjectFile>(SymObj); in getMemberAlignment() local 582 if (!XCOFFObj) in getMemberAlignment() 587 return XCOFFObj->is64Bit() in getMemberAlignment() 588 ? getAuxMaxAlignment(XCOFFObj->fileHeader64()->AuxHeaderSize, in getMemberAlignment() 589 XCOFFObj->auxiliaryHeader64(), in getMemberAlignment() 591 : getAuxMaxAlignment(XCOFFObj->fileHeader32()->AuxHeaderSize, in getMemberAlignment() 592 XCOFFObj->auxiliaryHeader32(), 2); in getMemberAlignment()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.cpp | 1413 const auto &XCOFFObj = cast<XCOFFObjectFile>(Obj); in createSymbolInfo() local 1416 const uint32_t SymbolIndex = XCOFFObj.getSymbolIndex(SymbolDRI.p); in createSymbolInfo() 1418 getXCOFFSymbolCsectSMC(XCOFFObj, Symbol); in createSymbolInfo() 1420 isLabel(XCOFFObj, Symbol)); in createSymbolInfo()
|