junaire added inline comments.
================ Comment at: clang/lib/CodeGen/ModuleBuilder.cpp:138 + { + CodeGenModule::KeepLazyEmiitedSymRAII RAIIKeeper(Builder); + M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); ---------------- v.g.vassilev wrote: > Maybe we could move this call into `Initialize`. I don't know why but moving this to `Initialize` causes a crash... Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126781/new/ https://reviews.llvm.org/D126781 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits