mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
IRGen: Bring back the -enable-class-resilience staging flag
This commit is contained in:
@@ -902,6 +902,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.EnableReflectionNames = false;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_enable_class_resilience)) {
|
||||
Opts.EnableClassResilience = true;
|
||||
}
|
||||
|
||||
for (const auto &Lib : Args.getAllArgValues(options::OPT_autolink_library))
|
||||
Opts.LinkLibraries.push_back(LinkLibrary(Lib, LibraryKind::Library));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user