Handle common linkage correctly in the gold plugin.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 9 Sep 2014 20:08:22 +0000 (20:08 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 9 Sep 2014 20:08:22 +0000 (20:08 +0000)
commit19f3868e91b0e29bb115c57c3a3f704c65db947e
tree9d0b8c683fe1e78d65b91d17e8186b5ce7a27497
parenta9d73982801907f8a898f200a2f4496ce1f82e69
Handle common linkage correctly in the gold plugin.

This is the plugin version of pr20882.

This handles the case of every common symbol being in the IR. We will need some
support from gold to handle the case where some symbols are in ELF and some in
the IR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217458 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/Inputs/common.ll [new file with mode: 0644]
test/tools/gold/common.ll [new file with mode: 0644]
tools/gold/gold-plugin.cpp