diff options
Diffstat (limited to 'lib/Frontend/FrontendActions.cpp')
-rw-r--r-- | lib/Frontend/FrontendActions.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Frontend/FrontendActions.cpp b/lib/Frontend/FrontendActions.cpp index f0b86a9214..400d35361c 100644 --- a/lib/Frontend/FrontendActions.cpp +++ b/lib/Frontend/FrontendActions.cpp @@ -81,9 +81,10 @@ ASTConsumer *GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, return 0; if (CI.getFrontendOpts().RelocatablePCH) - return CreatePCHGenerator(CI.getPreprocessor(), OS, Sysroot.c_str()); + return CreatePCHGenerator(CI.getPreprocessor(), OS, + CI.getPCHReader(), Sysroot.c_str()); - return CreatePCHGenerator(CI.getPreprocessor(), OS); + return CreatePCHGenerator(CI.getPreprocessor(), OS, CI.getPCHReader()); } ASTConsumer *InheritanceViewAction::CreateASTConsumer(CompilerInstance &CI, |