mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Stubbing out backdeploy library
This patch gets everything to the point of building the library, but it doesn't run yet since I have missing symbols. Unlike previous compatibility libraries and the concurrency compatibility library, I'm organizing the headers a bit more. This is because we're merging the two libraries into one. They share some common header names, and while I could rename them for namespacing purposes, it's easier to just use a directory structure for this. The `include/Runtime` and corresponding `Runtime/` directories are for backdeployed changes to the stdlib itself. The `include/Concurrency` and corresponding `Concurrency/` directories are for backdeployed changes to the concurrency runtimes.
This commit is contained in:
@@ -2257,6 +2257,8 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 1);
|
||||
} else if (version.equals("5.5")) {
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 5);
|
||||
} else if (version.equals("5.6")) {
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 6);
|
||||
} else {
|
||||
Diags.diagnose(SourceLoc(), diag::error_invalid_arg_value,
|
||||
versionArg->getAsString(Args), version);
|
||||
|
||||
Reference in New Issue
Block a user