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)
commit5f92811f305a3fe9ce90199f68a1026123bc8d51
treec29708b09cdda547a577bb763a801f5c6a043ada
parent81e68c90232d0586c8a627c48baf22b4990145b8
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!

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