The PCHGenerator was enhanced to protect against build races.
See llvm-mirror/clang@d28cf14 and llvm-mirror/clang@2d59837.
This commit is contained in:
parent
0e04207ce2
commit
adb3a16dff
@ -1592,8 +1592,8 @@ static void stringifyPreprocSetting(PreprocessorOptions& PPOpts,
|
||||
auto Buffer = std::make_shared<PCHBuffer>();
|
||||
|
||||
Consumers.push_back(llvm::make_unique<PCHGenerator>(
|
||||
CI->getPreprocessor(), ModuleOutputFile, Sysroot, Buffer,
|
||||
CI->getFrontendOpts().ModuleFileExtensions,
|
||||
CI->getPreprocessor(), CI->getModuleCache(), ModuleOutputFile,
|
||||
Sysroot, Buffer, CI->getFrontendOpts().ModuleFileExtensions,
|
||||
/*AllowASTWithErrors=*/false,
|
||||
/*IncludeTimestamps=*/
|
||||
+CI->getFrontendOpts().BuildingImplicitModule));
|
||||
|
Loading…
Reference in New Issue
Block a user