Lines Matching refs:MachOLinkingContext
114 std::vector<std::unique_ptr<File>> loadFile(MachOLinkingContext &ctx, in loadFile()
158 static void addFile(StringRef path, MachOLinkingContext &ctx, in addFile()
169 MachOLinkingContext &ctx) { in parseExportsList()
199 MachOLinkingContext &ctx) { in parseOrderFile()
253 MachOLinkingContext &ctx, bool forceLoad) { in loadFileList()
318 bool parse(llvm::ArrayRef<const char *> args, MachOLinkingContext &ctx) { in parse()
366 MachOLinkingContext::Arch arch = MachOLinkingContext::arch_unknown; in parse()
368 arch = MachOLinkingContext::archFromName(archStr->getValue()); in parse()
369 if (arch == MachOLinkingContext::arch_unknown) { in parse()
375 if (arch == MachOLinkingContext::arch_unknown) { in parse()
379 if (MachOLinkingContext::isThinObjectFile(inFile->getValue(), arch)) in parse()
382 if (arch == MachOLinkingContext::arch_unknown && in parse()
397 MachOLinkingContext::OS os = MachOLinkingContext::OS::unknown; in parse()
404 os = MachOLinkingContext::OS::macOSX; in parse()
405 if (MachOLinkingContext::parsePackedVersion(minOS->getValue(), in parse()
412 os = MachOLinkingContext::OS::iOS; in parse()
413 if (MachOLinkingContext::parsePackedVersion(minOS->getValue(), in parse()
420 os = MachOLinkingContext::OS::iOS_simulator; in parse()
421 if (MachOLinkingContext::parsePackedVersion(minOS->getValue(), in parse()
497 if (MachOLinkingContext::parsePackedVersion(vers->getValue(), parsedVers)) { in parse()
510 if (MachOLinkingContext::parsePackedVersion(vers->getValue(), parsedVers)) { in parse()
654 if (ctx.exportMode() == MachOLinkingContext::ExportMode::unexported) { in parse()
659 ctx.setExportMode(MachOLinkingContext::ExportMode::exported); in parse()
669 if (ctx.exportMode() == MachOLinkingContext::ExportMode::unexported) { in parse()
674 ctx.setExportMode(MachOLinkingContext::ExportMode::exported); in parse()
680 if (ctx.exportMode() == MachOLinkingContext::ExportMode::exported) { in parse()
685 ctx.setExportMode(MachOLinkingContext::ExportMode::unexported); in parse()
695 if (ctx.exportMode() == MachOLinkingContext::ExportMode::exported) { in parse()
700 ctx.setExportMode(MachOLinkingContext::ExportMode::unexported); in parse()
735 case MachOLinkingContext::OS::macOSX: in parse()
742 case MachOLinkingContext::OS::iOS: in parse()
749 case MachOLinkingContext::OS::iOS_simulator: in parse()
755 case MachOLinkingContext::OS::unknown: in parse()
922 if (MachOLinkingContext::parsePackedVersion(arg->getValue(), in parse()
941 if (MachOLinkingContext::parsePackedVersion(arg->getValue(), in parse()
967 ctx.setDebugInfoMode(MachOLinkingContext::DebugInfoMode::noDebugMap); in parse()
987 MachOLinkingContext::UndefinedMode UndefMode; in parse()
989 UndefMode = MachOLinkingContext::UndefinedMode::error; in parse()
991 UndefMode = MachOLinkingContext::UndefinedMode::warning; in parse()
993 UndefMode = MachOLinkingContext::UndefinedMode::suppress; in parse()
995 UndefMode = MachOLinkingContext::UndefinedMode::dynamicLookup; in parse()
1005 if (UndefMode != MachOLinkingContext::UndefinedMode::error) in parse()
1006 UndefMode = MachOLinkingContext::UndefinedMode::suppress; in parse()
1010 if (UndefMode == MachOLinkingContext::UndefinedMode::warning || in parse()
1011 UndefMode == MachOLinkingContext::UndefinedMode::suppress) { in parse()
1032 if (ctx.os() == MachOLinkingContext::OS::macOSX) in parse()
1134 static void createFiles(MachOLinkingContext &ctx, bool Implicit) { in createFiles()
1159 MachOLinkingContext ctx; in link()