Duncan P. N. Exon Smith d4017d0489 Linker: Drop superseded subprograms
When a function gets replaced by `ModuleLinker`, drop superseded
subprograms.  This ensures that the "first" subprogram pointing at a
function is the same one that `!dbg` references point at.

This is a stop-gap fix for PR21910.  Notably, this fixes Release+Asserts
bootstraps that are currently asserting out in
`LexicalScopes::initialize()` due to the explicit instantiations in
`lib/IR/Dominators.cpp` eventually getting replaced by -argpromotion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224389 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-16 23:23:41 +00:00
..
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-12-08 17:02:50 +00:00
2014-10-23 19:36:21 +00:00
2014-10-23 19:23:42 +00:00
2014-06-27 18:19:56 +00:00
2014-09-05 21:27:52 +00:00
2014-03-11 18:25:33 +00:00
2014-12-08 13:44:38 +00:00
2014-11-25 04:43:59 +00:00