diff options
author | Zequan Wu <zequanwu@google.com> | 2022-11-22 13:46:42 -0800 |
---|---|---|
committer | Zequan Wu <zequanwu@google.com> | 2022-11-22 13:46:42 -0800 |
commit | 84be92d26fcb1ddad533c0c614a79a81c59f795d (patch) | |
tree | 78c1108bb8ff6365fe2f0f971d7004e900b3e39b /llvm/lib/LTO/LTO.cpp | |
parent | 10a43c4641c20e0a50edc0ff99915c837a507cc1 (diff) | |
download | llvm-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.cpp | 2 |
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; |