@@ -1393,14 +1393,14 @@ SmallVector<const char *> LTO::getRuntimeLibcallSymbols(const Triple &TT) {
1393
1393
Error ThinBackendProc::emitFiles (
1394
1394
const FunctionImporter::ImportMapTy &ImportList, llvm::StringRef ModulePath,
1395
1395
const std::string &NewModulePath) const {
1396
- return emitFiles (ImportList, ModulePath, NewModulePath + " .thinlto.bc " ,
1397
- NewModulePath,
1396
+ return emitFiles (ImportList, ModulePath, NewModulePath,
1397
+ NewModulePath + " .thinlto.bc " ,
1398
1398
/* ImportsFiles=*/ std::nullopt);
1399
1399
}
1400
1400
1401
1401
Error ThinBackendProc::emitFiles (
1402
1402
const FunctionImporter::ImportMapTy &ImportList, llvm::StringRef ModulePath,
1403
- StringRef SummaryPath, const std::string &NewModulePath,
1403
+ const std::string &NewModulePath, StringRef SummaryPath ,
1404
1404
std::optional<std::reference_wrapper<ImportsFilesContainer>> ImportsFiles)
1405
1405
const {
1406
1406
ModuleToSummariesForIndexTy ModuleToSummariesForIndex;
@@ -2281,8 +2281,8 @@ class OutOfProcessThinBackend : public CGThinBackend {
2281
2281
assert (ModuleToDefinedGVSummaries.count (ModulePath));
2282
2282
BackendThreadPool.async (
2283
2283
[=](Job &J, const FunctionImporter::ImportMapTy &ImportList) {
2284
- if (auto E = emitFiles (ImportList, J.ModuleID , J.SummaryIndexPath ,
2285
- J.ModuleID . str () , J.ImportsFiles )) {
2284
+ if (auto E = emitFiles (ImportList, J.ModuleID , J.ModuleID . str () ,
2285
+ J.SummaryIndexPath , J.ImportsFiles )) {
2286
2286
std::unique_lock<std::mutex> L (ErrMu);
2287
2287
if (Err)
2288
2288
Err = joinErrors (std::move (*Err), std::move (E));
0 commit comments