Fix another case where we were unconditionally linking linkonce GVs.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 24 Mar 2016 15:23:01 +0000 (15:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 24 Mar 2016 15:23:01 +0000 (15:23 +0000)
commite1c42ac12b29462944af83719c92fa5546da6a90
tree43fe4b6e0f2aed900155d04dc6e03804d87f52aa
parentd8c1be66abc7ba4997656b5c3f87a94839cbc617
Fix another case where we were unconditionally linking linkonce GVs.

With this I think that now llvm-link,  lld and the gold plugin should
agree on which symbol is kept.

llvm-svn: 264292
llvm/lib/Linker/LinkModules.cpp
llvm/test/Linker/Inputs/pr27044.ll
llvm/test/Linker/pr27044.ll