mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Backward deployment shim for swift_allocate{Metadata,WitnessTable}Pack()
This commit is contained in:
@@ -2607,6 +2607,8 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 5);
|
||||
} else if (version.equals("5.6")) {
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 6);
|
||||
} else if (version.equals("5.8")) {
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 8);
|
||||
} else {
|
||||
Diags.diagnose(SourceLoc(), diag::error_invalid_arg_value,
|
||||
versionArg->getAsString(Args), version);
|
||||
|
||||
Reference in New Issue
Block a user