commit | ae03f03be4aa998693c6e8d6e39e093773bb59eb | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Mon Nov 14 23:18:38 2016 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Mon Nov 14 23:18:38 2016 +0000 |
tree | 829a3738531d986558fc863ba410c540c124210d | |
parent | fe876c7e504699bdcb845e74be6bda957f0bb478 [diff] |
Linker: Remove unnecessary call to copyMetadata in IRLinker::linkGlobalVariable. This was causing us to create duplicate metadata on global variables. Debug info test case by Adrian Prantl, additional test cases by me. Fixes PR31012. Differential Revision: https://reviews.llvm.org/D26622 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286905 91177308-0d34-0410-b5e6-96231b3b80d8