aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2019-10-14 23:25:25 +0000
committerJorge Gorbe Moya <jgorbe@google.com>2019-10-14 23:25:25 +0000
commitb052331bd614ff2d06bbb3e5af15e899e3f7e52f (patch)
tree820eb125616254eeeefc9d6ad5d3c3c174ed78b9 /llvm/lib/LTO/LTO.cpp
parent3be9169caab619c9c87ec29b5530bd2db8382938 (diff)
downloadllvm-b052331bd614ff2d06bbb3e5af15e899e3f7e52f.zip
llvm-b052331bd614ff2d06bbb3e5af15e899e3f7e52f.tar.gz
llvm-b052331bd614ff2d06bbb3e5af15e899e3f7e52f.tar.bz2
Revert "Dead Virtual Function Elimination"
This reverts commit 9f6a873268e1ad9855873d9d8007086c0d01cf4f. llvm-svn: 374844
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index c04fc7b..6c5858b 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -1003,8 +1003,6 @@ Error LTO::runRegularLTO(AddStreamFn AddStream) {
GV->setLinkage(GlobalValue::InternalLinkage);
}
- RegularLTO.CombinedModule->addModuleFlag(Module::Error, "LTOPostLink", 1);
-
if (Conf.PostInternalizeModuleHook &&
!Conf.PostInternalizeModuleHook(0, *RegularLTO.CombinedModule))
return Error::success();