aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2022-11-22 11:00:56 -0800
committerZequan Wu <zequanwu@google.com>2022-11-22 11:26:18 -0800
commit387620aa8cea33174b6c1fb80c1af713fee732ac (patch)
tree5f01d3a1e28f17a16eaa8130dc0620c5e54c5ae9 /llvm/lib/LTO/LTO.cpp
parent48bb1471122d156bc0c4feaabc32de4487024ca5 (diff)
downloadllvm-387620aa8cea33174b6c1fb80c1af713fee732ac.zip
llvm-387620aa8cea33174b6c1fb80c1af713fee732ac.tar.gz
llvm-387620aa8cea33174b6c1fb80c1af713fee732ac.tar.bz2
Reland "[LTO][COFF] Use bitcode file names in lto native object file names."
This reverts commit eef5405f74ae208e3e2eb7daacecac923d7338f2.
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;