aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2022-11-22 10:54:46 -0800
committerZequan Wu <zequanwu@google.com>2022-11-22 10:55:05 -0800
commiteef5405f74ae208e3e2eb7daacecac923d7338f2 (patch)
tree26014108b80023dc35bfbdfb1b33a1e2d890e16a /llvm/lib/LTO/LTO.cpp
parent0ffcd243a42bff13966e455582d2db6c337628a2 (diff)
downloadllvm-eef5405f74ae208e3e2eb7daacecac923d7338f2.zip
llvm-eef5405f74ae208e3e2eb7daacecac923d7338f2.tar.gz
llvm-eef5405f74ae208e3e2eb7daacecac923d7338f2.tar.bz2
Revert "[LTO][COFF] Use bitcode file names in lto native object file names."
This reverts commit 531ed6d5aa65f41c6dfe2e74905d5c6c88fc95a7.
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 81219cd..9bfbabc 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, ModuleID);
+ Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key);
if (Error Err = CacheAddStreamOrErr.takeError())
return Err;
AddStreamFn &CacheAddStream = *CacheAddStreamOrErr;