Lines Matching refs:MachOLinkingContext
40 bool MachOLinkingContext::parsePackedVersion(StringRef str, uint32_t &result) { in parsePackedVersion()
75 bool MachOLinkingContext::parsePackedVersion(StringRef str, uint64_t &result) { in parsePackedVersion()
104 MachOLinkingContext::ArchInfo MachOLinkingContext::_s_archInfos[] = {
115 MachOLinkingContext::Arch
116 MachOLinkingContext::archFromCpuType(uint32_t cputype, uint32_t cpusubtype) { in archFromCpuType()
124 MachOLinkingContext::Arch
125 MachOLinkingContext::archFromName(StringRef archName) { in archFromName()
133 StringRef MachOLinkingContext::nameFromArch(Arch arch) { in nameFromArch()
141 uint32_t MachOLinkingContext::cpuTypeFromArch(Arch arch) { in cpuTypeFromArch()
150 uint32_t MachOLinkingContext::cpuSubtypeFromArch(Arch arch) { in cpuSubtypeFromArch()
159 bool MachOLinkingContext::isThinObjectFile(StringRef path, Arch &arch) { in isThinObjectFile()
163 bool MachOLinkingContext::sliceFromFatFile(MemoryBufferRef mb, uint32_t &offset, in sliceFromFatFile()
168 MachOLinkingContext::MachOLinkingContext() {} in MachOLinkingContext() function in lld::MachOLinkingContext
170 MachOLinkingContext::~MachOLinkingContext() { in ~MachOLinkingContext()
184 void MachOLinkingContext::configure(HeaderFileType type, Arch arch, OS os, in configure()
202 _os = MachOLinkingContext::OS::macOSX; in configure()
209 _os = MachOLinkingContext::OS::iOS; in configure()
274 uint32_t MachOLinkingContext::getCPUType() const { in getCPUType()
278 uint32_t MachOLinkingContext::getCPUSubType() const { in getCPUSubType()
282 bool MachOLinkingContext::is64Bit(Arch arch) { in is64Bit()
292 bool MachOLinkingContext::isHostEndian(Arch arch) { in isHostEndian()
302 bool MachOLinkingContext::isBigEndian(Arch arch) { in isBigEndian()
312 bool MachOLinkingContext::is64Bit() const { in is64Bit()
316 bool MachOLinkingContext::outputTypeHasEntry() const { in outputTypeHasEntry()
327 bool MachOLinkingContext::needsStubsPass() const { in needsStubsPass()
339 bool MachOLinkingContext::needsGOTPass() const { in needsGOTPass()
353 bool MachOLinkingContext::needsCompactUnwindPass() const { in needsCompactUnwindPass()
364 bool MachOLinkingContext::needsObjCPass() const { in needsObjCPass()
369 bool MachOLinkingContext::needsShimPass() const { in needsShimPass()
384 bool MachOLinkingContext::needsTLVPass() const { in needsTLVPass()
395 StringRef MachOLinkingContext::binderSymbolName() const { in binderSymbolName()
399 bool MachOLinkingContext::minOS(StringRef mac, StringRef iOS) const { in minOS()
419 bool MachOLinkingContext::addEntryPointLoadCommand() const { in addEntryPointLoadCommand()
426 bool MachOLinkingContext::addUnixThreadLoadCommand() const { in addUnixThreadLoadCommand()
442 bool MachOLinkingContext::pathExists(StringRef path) const { in pathExists()
453 bool MachOLinkingContext::fileExists(StringRef path) const { in fileExists()
466 void MachOLinkingContext::setSysLibRoots(const StringRefVector &paths) { in setSysLibRoots()
470 void MachOLinkingContext::addRpath(StringRef rpath) { in addRpath()
474 void MachOLinkingContext::addModifiedSearchDir(StringRef libPath, in addModifiedSearchDir()
502 void MachOLinkingContext::addFrameworkSearchDir(StringRef fwPath, in addFrameworkSearchDir()
531 MachOLinkingContext::searchDirForLibrary(StringRef path, in searchDirForLibrary()
565 MachOLinkingContext::searchLibrary(StringRef libName) const { in searchLibrary()
577 MachOLinkingContext::findPathForFramework(StringRef fwName) const{ in findPathForFramework()
589 bool MachOLinkingContext::validateImpl() { in validateImpl()
639 void MachOLinkingContext::addPasses(PassManager &pm) { in addPasses()
657 Writer &MachOLinkingContext::writer() const { in writer()
664 MachOLinkingContext::getMemoryBuffer(StringRef path) { in getMemoryBuffer()
682 MachODylibFile* MachOLinkingContext::loadIndirectDylib(StringRef path) { in loadIndirectDylib()
699 MachODylibFile* MachOLinkingContext::findIndirectDylib(StringRef path) { in findIndirectDylib()
732 uint32_t MachOLinkingContext::dylibCurrentVersion(StringRef installName) const { in dylibCurrentVersion()
740 uint32_t MachOLinkingContext::dylibCompatVersion(StringRef installName) const { in dylibCompatVersion()
748 void MachOLinkingContext::createImplicitFiles( in createImplicitFiles()
772 void MachOLinkingContext::registerDylib(MachODylibFile *dylib, in registerDylib()
786 bool MachOLinkingContext::isUpwardDylib(StringRef installName) const { in isUpwardDylib()
794 ArchHandler &MachOLinkingContext::archHandler() const { in archHandler()
800 void MachOLinkingContext::addSectionAlignment(StringRef seg, StringRef sect, in addSectionAlignment()
806 void MachOLinkingContext::addSectCreateSection( in addSectCreateSection()
820 bool MachOLinkingContext::sectionAligned(StringRef seg, StringRef sect, in sectionAligned()
831 void MachOLinkingContext::addExportSymbol(StringRef sym) { in addExportSymbol()
856 bool MachOLinkingContext::exportSymbolNamed(StringRef sym) const { in exportSymbolNamed()
869 std::string MachOLinkingContext::demangle(StringRef symbolName) const { in demangle()
904 std::error_code MachOLinkingContext::createDependencyFile(StringRef path) { in createDependencyFile()
917 void MachOLinkingContext::addInputFileDependency(StringRef path) const { in addInputFileDependency()
921 void MachOLinkingContext::addInputFileNotFound(StringRef path) const { in addInputFileNotFound()
925 void MachOLinkingContext::addOutputFileDependency(StringRef path) const { in addOutputFileDependency()
929 void MachOLinkingContext::appendOrderedSymbol(StringRef symbol, in appendOrderedSymbol()
942 MachOLinkingContext::findOrderOrdinal(const std::vector<OrderFileNode> &nodes, in findOrderOrdinal()
966 bool MachOLinkingContext::customAtomOrderer(const DefinedAtom *left, in customAtomOrderer()
1021 void MachOLinkingContext::finalizeInputFiles() { in finalizeInputFiles()
1031 llvm::Error MachOLinkingContext::handleLoadedFile(File &file) { in handleLoadedFile()