Lines Matching defs:platform
702 PlatformType platform = PLATFORM_UNKNOWN;
716 platformVersion.platform =
731 if (platformVersion.platform == PLATFORM_UNKNOWN)
732 error(Twine("malformed platform: ") + platformStr);
733 // TODO: check validity of version strings, which varies by platform
752 // For each platform, the last flag wins:
755 // FIXME: ld64 warns on multiple flags for one platform. Should we?
756 platformVersions[version.platform] = version;
757 lastVersionInfo = &platformVersions[version.platform];
792 lastVersionInfo->platform,
1021 PlatformType macho::removeSimulator(PlatformType platform) {
1022 switch (platform) {
1032 return platform;
1041 static bool shouldAdhocSignByDefault(Architecture arch, PlatformType platform) {
1045 return platform == PLATFORM_MACOS || platform == PLATFORM_IOSSIMULATOR ||
1046 platform == PLATFORM_TVOSSIMULATOR ||
1047 platform == PLATFORM_WATCHOSSIMULATOR ||
1048 platform == PLATFORM_XROS_SIMULATOR;
1054 /// Returns true if the platform is greater than the min version.
1055 /// Returns false if the platform does not exist.
1059 PlatformType platform = config->platformInfo.target.Platform;
1061 platform = removeSimulator(platform);
1063 [&](const auto &p) { return p.first == platform; });
1906 is_contained(encryptablePlatforms, config->platform()));
1996 config->platform() == PLATFORM_MACOS ||
1997 config->platform() == PLATFORM_MACCATALYST;
2084 shouldAdhocSignByDefault(config->arch(), config->platform()));