diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-18 01:05:33 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-18 01:05:33 +0000 |
commit | fda0cee7c6d4e4f874f7ae955b1f4cb4aa31416f (patch) | |
tree | 5e5746022a3cad3f51e54b7d2ef51956894e0dc2 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 9fb36654265a8dfa1eb8e5e5054311c5396386aa (diff) | |
download | llvm-fda0cee7c6d4e4f874f7ae955b1f4cb4aa31416f.zip llvm-fda0cee7c6d4e4f874f7ae955b1f4cb4aa31416f.tar.gz llvm-fda0cee7c6d4e4f874f7ae955b1f4cb4aa31416f.tar.bz2 |
Reapply "Linker: Drop superseded subprograms"
This reverts commit r224416, reapplying r224389. The buildbots hadn't
recovered after my revert, waiting until David reverted a couple of his
commits. It looks like it was just bad timing (where we were both
modifying code related to the same assertion). Trying again...
Here's the original text:
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.
llvm-svn: 224487
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions