Fix linking of shared libraries.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 14 Jan 2015 20:08:46 +0000 (20:08 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 14 Jan 2015 20:08:46 +0000 (20:08 +0000)
commit0a2caa143f0233bcf1ba04a358f3e21a095035e0
treeaa966f1f8457f006ad87035588d13aec2890cb70
parent4ade012dd08c80ef14e899de4455d16df5fa732d
Fix linking of shared libraries.

In shared libraries the plugin can see non-weak declarations that are still
undefined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226031 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/emit-llvm.ll
tools/gold/gold-plugin.cpp