aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2022-11-22 13:46:42 -0800
committerZequan Wu <zequanwu@google.com>2022-11-22 13:46:42 -0800
commit84be92d26fcb1ddad533c0c614a79a81c59f795d (patch)
tree78c1108bb8ff6365fe2f0f971d7004e900b3e39b /llvm/lib/LTO/LTO.cpp
parent10a43c4641c20e0a50edc0ff99915c837a507cc1 (diff)
downloadllvm-84be92d26fcb1ddad533c0c614a79a81c59f795d.zip
llvm-84be92d26fcb1ddad533c0c614a79a81c59f795d.tar.gz
llvm-84be92d26fcb1ddad533c0c614a79a81c59f795d.tar.bz2
Reland "[LTO][COFF] Use bitcode file names in lto native object file names."
This reverts commit 34108082947c964ae9bbfcd9808f2fd31c0d672f with fixes.
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 9bfbabc..81219cd 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -1313,7 +1313,7 @@ public:
computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList,
ExportList, ResolvedODR, DefinedGlobals, CfiFunctionDefs,
CfiFunctionDecls);
- Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key);
+ Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key, ModuleID);
if (Error Err = CacheAddStreamOrErr.takeError())
return Err;
AddStreamFn &CacheAddStream = *CacheAddStreamOrErr;