aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2019-04-08 18:53:21 +0000
committerSteven Wu <stevenwu@apple.com>2019-04-08 18:53:21 +0000
commitf41e70d6eb90279019f0481fe0fd25742705f221 (patch)
treedc75fc09ac4b343cd3efd832e60881cf6c74981a /llvm/lib/LTO/LTO.cpp
parent8b70a5c11e08116955a875b9085433f14737bcaf (diff)
downloadllvm-f41e70d6eb90279019f0481fe0fd25742705f221.zip
llvm-f41e70d6eb90279019f0481fe0fd25742705f221.tar.gz
llvm-f41e70d6eb90279019f0481fe0fd25742705f221.tar.bz2
Revert [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols
This reverts r357931 (git commit 8b70a5c11e08116955a875b9085433f14737bcaf) llvm-svn: 357932
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 1accbf4..99318c1 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -420,11 +420,6 @@ StringRef InputFile::getName() const {
return Mods[0].getModuleIdentifier();
}
-BitcodeModule &InputFile::getSingleBitcodeModule() {
- assert(Mods.size() == 1 && "Expect only one bitcode module");
- return Mods[0];
-}
-
LTO::RegularLTOState::RegularLTOState(unsigned ParallelCodeGenParallelismLevel,
Config &Conf)
: ParallelCodeGenParallelismLevel(ParallelCodeGenParallelismLevel),