[clang] [clang-repl] Teach clang-repl how to load PCHs. (PR #94166)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 05:15:50 PDT 2024


================
@@ -138,6 +138,8 @@ namespace {
       assert(!M && "Replacing existing Module?");
       M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C));
 
+      IRGenFinished = false;
----------------
AaronBallman wrote:

Why is IR gen *finished* when we're just starting the module?

https://github.com/llvm/llvm-project/pull/94166


More information about the cfe-commits mailing list