Lines Matching refs:MachOLinkingContext
41 bool MachOLinkingContext::parsePackedVersion(StringRef str, uint32_t &result) { in parsePackedVersion()
76 bool MachOLinkingContext::parsePackedVersion(StringRef str, uint64_t &result) { in parsePackedVersion()
105 MachOLinkingContext::ArchInfo MachOLinkingContext::_s_archInfos[] = {
116 MachOLinkingContext::Arch
117 MachOLinkingContext::archFromCpuType(uint32_t cputype, uint32_t cpusubtype) { in archFromCpuType()
125 MachOLinkingContext::Arch
126 MachOLinkingContext::archFromName(StringRef archName) { in archFromName()
134 StringRef MachOLinkingContext::nameFromArch(Arch arch) { in nameFromArch()
142 uint32_t MachOLinkingContext::cpuTypeFromArch(Arch arch) { in cpuTypeFromArch()
151 uint32_t MachOLinkingContext::cpuSubtypeFromArch(Arch arch) { in cpuSubtypeFromArch()
160 bool MachOLinkingContext::isThinObjectFile(StringRef path, Arch &arch) { in isThinObjectFile()
164 bool MachOLinkingContext::sliceFromFatFile(MemoryBufferRef mb, uint32_t &offset, in sliceFromFatFile()
169 MachOLinkingContext::MachOLinkingContext() {} in MachOLinkingContext() function in lld::MachOLinkingContext
171 MachOLinkingContext::~MachOLinkingContext() { in ~MachOLinkingContext()
185 void MachOLinkingContext::configure(HeaderFileType type, Arch arch, OS os, in configure()
203 _os = MachOLinkingContext::OS::macOSX; in configure()
210 _os = MachOLinkingContext::OS::iOS; in configure()
275 uint32_t MachOLinkingContext::getCPUType() const { in getCPUType()
279 uint32_t MachOLinkingContext::getCPUSubType() const { in getCPUSubType()
283 bool MachOLinkingContext::is64Bit(Arch arch) { in is64Bit()
293 bool MachOLinkingContext::isHostEndian(Arch arch) { in isHostEndian()
303 bool MachOLinkingContext::isBigEndian(Arch arch) { in isBigEndian()
313 bool MachOLinkingContext::is64Bit() const { in is64Bit()
317 bool MachOLinkingContext::outputTypeHasEntry() const { in outputTypeHasEntry()
328 bool MachOLinkingContext::needsStubsPass() const { in needsStubsPass()
340 bool MachOLinkingContext::needsGOTPass() const { in needsGOTPass()
354 bool MachOLinkingContext::needsCompactUnwindPass() const { in needsCompactUnwindPass()
365 bool MachOLinkingContext::needsObjCPass() const { in needsObjCPass()
370 bool MachOLinkingContext::needsShimPass() const { in needsShimPass()
385 bool MachOLinkingContext::needsTLVPass() const { in needsTLVPass()
396 StringRef MachOLinkingContext::binderSymbolName() const { in binderSymbolName()
400 bool MachOLinkingContext::minOS(StringRef mac, StringRef iOS) const { in minOS()
420 bool MachOLinkingContext::addEntryPointLoadCommand() const { in addEntryPointLoadCommand()
427 bool MachOLinkingContext::addUnixThreadLoadCommand() const { in addUnixThreadLoadCommand()
443 bool MachOLinkingContext::pathExists(StringRef path) const { in pathExists()
454 bool MachOLinkingContext::fileExists(StringRef path) const { in fileExists()
467 void MachOLinkingContext::setSysLibRoots(const StringRefVector &paths) { in setSysLibRoots()
471 void MachOLinkingContext::addRpath(StringRef rpath) { in addRpath()
475 void MachOLinkingContext::addModifiedSearchDir(StringRef libPath, in addModifiedSearchDir()
503 void MachOLinkingContext::addFrameworkSearchDir(StringRef fwPath, in addFrameworkSearchDir()
532 MachOLinkingContext::searchDirForLibrary(StringRef path, in searchDirForLibrary()
560 MachOLinkingContext::searchLibrary(StringRef libName) const { in searchLibrary()
572 MachOLinkingContext::findPathForFramework(StringRef fwName) const{ in findPathForFramework()
584 bool MachOLinkingContext::validateImpl() { in validateImpl()
634 void MachOLinkingContext::addPasses(PassManager &pm) { in addPasses()
652 Writer &MachOLinkingContext::writer() const { in writer()
659 MachOLinkingContext::getMemoryBuffer(StringRef path) { in getMemoryBuffer()
677 MachODylibFile* MachOLinkingContext::loadIndirectDylib(StringRef path) { in loadIndirectDylib()
694 MachODylibFile* MachOLinkingContext::findIndirectDylib(StringRef path) { in findIndirectDylib()
727 uint32_t MachOLinkingContext::dylibCurrentVersion(StringRef installName) const { in dylibCurrentVersion()
735 uint32_t MachOLinkingContext::dylibCompatVersion(StringRef installName) const { in dylibCompatVersion()
743 void MachOLinkingContext::createImplicitFiles( in createImplicitFiles()
767 void MachOLinkingContext::registerDylib(MachODylibFile *dylib, in registerDylib()
782 bool MachOLinkingContext::isUpwardDylib(StringRef installName) const { in isUpwardDylib()
790 ArchHandler &MachOLinkingContext::archHandler() const { in archHandler()
796 void MachOLinkingContext::addSectionAlignment(StringRef seg, StringRef sect, in addSectionAlignment()
802 void MachOLinkingContext::addSectCreateSection( in addSectCreateSection()
816 bool MachOLinkingContext::sectionAligned(StringRef seg, StringRef sect, in sectionAligned()
827 void MachOLinkingContext::addExportSymbol(StringRef sym) { in addExportSymbol()
852 bool MachOLinkingContext::exportSymbolNamed(StringRef sym) const { in exportSymbolNamed()
865 std::string MachOLinkingContext::demangle(StringRef symbolName) const { in demangle()
900 std::error_code MachOLinkingContext::createDependencyFile(StringRef path) { in createDependencyFile()
913 void MachOLinkingContext::addInputFileDependency(StringRef path) const { in addInputFileDependency()
917 void MachOLinkingContext::addInputFileNotFound(StringRef path) const { in addInputFileNotFound()
921 void MachOLinkingContext::addOutputFileDependency(StringRef path) const { in addOutputFileDependency()
925 void MachOLinkingContext::appendOrderedSymbol(StringRef symbol, in appendOrderedSymbol()
938 MachOLinkingContext::findOrderOrdinal(const std::vector<OrderFileNode> &nodes, in findOrderOrdinal()
962 bool MachOLinkingContext::customAtomOrderer(const DefinedAtom *left, in customAtomOrderer()
1017 void MachOLinkingContext::finalizeInputFiles() { in finalizeInputFiles()
1028 llvm::Error MachOLinkingContext::handleLoadedFile(File &file) { in handleLoadedFile()