================
@@ -292,6 +292,23 @@ struct Config {
LLVM_ABI Error addSaveTemps(std::string OutputFileName,
bool UseInputModulePath = false,
const DenseSet<StringRef> &SaveTempsArgs = {});
+
+ /// Called by WriteIndexesThinBackend when it needs to write a bitcode
+ /// module's summary index. The callback should return a stream to write
+ /// the index into. If not set, the backend falls back
+ /// to writing the summary index to a file.
+ std::function<std::unique_ptr<raw_pwrite_stream>(size_t Task)>
+ OnSummaryIndexStoreCb;
----------------
kbelochapka wrote:
Renamed callbacks to `GetSummaryIndexOutputStream()` and
`GetImportsListOutputArray()`
https://github.com/llvm/llvm-project/pull/192629
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits