Handle a symbol being undefined.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 14 Jan 2015 13:53:50 +0000 (13:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 14 Jan 2015 13:53:50 +0000 (13:53 +0000)
commit5ca7fa15fd6546ef8001d7d0e854b041344fb8d2
tree2d173f1e6663bf71ab8a4f568c85bed68ba8039e
parent1cd3c71c017e150d3249047e7694d0eff04cbb30
Handle a symbol being undefined.

This can happen if:
* It is present in a comdat in one file.
* It is not present in the comdat of the file that is kept.
* Is is not used.

This should fix the LTO boostrap.

Thanks to Takumi NAKAMURA for setting up the bot!

llvm-svn: 225983
llvm/test/tools/gold/Inputs/comdat.ll
llvm/tools/gold/gold-plugin.cpp