================
@@ -1538,26 +1533,33 @@ Error ThinBackendProc::emitFiles(
                                    ImportList, ModuleToSummariesForIndex,
                                    DeclarationSummaries);
 
-  raw_fd_ostream OS(SummaryPath, EC, sys::fs::OpenFlags::OF_None);
-  if (EC)
-    return createFileError("cannot open " + Twine(SummaryPath), EC);
+  if (!Conf.OnSummaryIndexStoreCb) {
----------------
kbelochapka wrote:

Replaced the code with some modifications - the `Gemini` generated code has a 
problem with dangling pointer.

https://github.com/llvm/llvm-project/pull/192629
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to