Add a flag -ignore-overlays to ignore overlays, and use it when building the standard library.

Fixes <rdar://problem/16603168>. This was way too much engineering
effort to ban fork() and vfork().

Swift SVN r16383
This commit is contained in:
Doug Gregor
2014-04-16 00:02:38 +00:00
parent 53b872a751
commit f384cbfe63
8 changed files with 27 additions and 6 deletions

View File

@@ -566,6 +566,7 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts, ArgList &Args,
Opts.InferImplicitProperties =
Args.hasArg(OPT_enable_objc_implicit_properties);
Opts.IgnoreAdapterModules = Args.hasArg(OPT_ignore_overlays);
return false;
}