Revert "Linker: Drop superseded subprograms"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 17 Dec 2014 07:27:31 +0000 (07:27 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 17 Dec 2014 07:27:31 +0000 (07:27 +0000)
commit92731d26bcbb82f58ff7cc65f1f762b84198f82e
tree1c58c3009c1e64b35df44179b7fb08c463e95500
parent0c0d5deff1d6c3dbad6b0e76e4d788dda33efa3b
Revert "Linker: Drop superseded subprograms"

This reverts commit r224389.  Based on feedback from the bots, the
assertion seems to be going off *more* often, not less (previously I was
just seeing it in an internal bootstrap, now it's happening in public
builds too).

http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_build/936/
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/5325

Reverting in order to investigate.

llvm-svn: 224416
llvm/lib/Linker/LinkModules.cpp
llvm/test/Linker/Inputs/replaced-function-matches-first-subprogram.ll [deleted file]
llvm/test/Linker/replaced-function-matches-first-subprogram.ll [deleted file]