commit | 85c673d5c935b70b6ceba255e8856c8270a918e1 | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Mar 11 00:51:57 2016 +0000 |
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Mar 11 00:51:57 2016 +0000 |
tree | 1a0152aeb4d59fd56f30946181352e5d0e4922ab | |
parent | 18d2ee844e187aeeb780885080cbebc05d2e5049 [diff] |
[gold] Fix common symbols handling. LLVM Gold plugin decides which instance of a common symbol it wants based on the symbol size in claim_file_hook. If the file that contains the chosen instance is later dropped from the link, we end up with an undefined reference. This change delays this decision until the set of the included files is known. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263180 91177308-0d34-0410-b5e6-96231b3b80d8