• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/

Lines Matching refs:SDK

965       // specified SDK path.
1070 // Assume SDK has path: SOME_PATH/SDKs/PlatformXX.YY.sdk
1074 StringRef SDK = *IT;
1075 if (SDK.endswith(".sdk"))
1076 return SDK.slice(0, SDK.size() - 4);
1257 // it never went into the SDK.
1268 /// If the macOS SDK version is the same or earlier than the system version,
1269 /// then the SDK version is returned. Otherwise the system version is returned.
1298 /// The OS was inferred from the SDK.
1418 /// the SDK path itself. Only works for values that were created by inferring
1421 assert(Kind == InferredFromSDK && "can infer SDK info only");
1425 assert(IsValid && "invalid SDK version");
1557 /// Tries to infer the deployment target from the SDK specified by -isysroot
1567 StringRef SDK = Darwin::getSDKName(isysroot);
1568 if (!SDK.size())
1578 size_t StartVer = SDK.find_first_of("0123456789");
1579 size_t EndVer = SDK.find_last_of("0123456789");
1581 Version = SDK.slice(StartVer, EndVer + 1);
1586 if (SDK.startswith("iPhoneOS") || SDK.startswith("iPhoneSimulator"))
1589 /*IsSimulator=*/SDK.startswith("iPhoneSimulator"));
1590 else if (SDK.startswith("MacOSX"))
1593 else if (SDK.startswith("WatchOS") || SDK.startswith("WatchSimulator"))
1596 /*IsSimulator=*/SDK.startswith("WatchSimulator"));
1597 else if (SDK.startswith("AppleTVOS") || SDK.startswith("AppleTVSimulator"))
1600 /*IsSimulator=*/SDK.startswith("AppleTVSimulator"));
1715 // Read the SDKSettings.json file for more information, like the SDK version
1763 // Don't infer simulator from the arch when the SDK is also specified.
1775 /// If the target was successfully constructed from the SDK path, try to
1776 /// infer the SDK info if the SDK doesn't have it.
1845 StringRef SDK = getSDKName(A->getValue());
1846 if (SDK.size() > 0) {
1847 size_t StartVer = SDK.find_first_of("0123456789");
1848 StringRef SDKName = SDK.slice(0, StartVer);
2366 /// Pass the SDK version to the compiler when the SDK information is
2540 // Both the target and SDK version support only up to 3 components.
2552 // Use a blank SDK version if it's not present.