commit | 4744e8bfd8f1eded048dc640661a40cd3e81140b | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Dec 02 22:59:04 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Dec 02 22:59:04 2015 +0000 |
tree | ff74a87ef7d6a26bfd4ba3dc4fa133cc35d204cd | |
parent | ba2d199d493e3cb2a6f87ff38e2830a35142714f [diff] |
Switch the linker to having a whitelist of GVs. This replaces DoNotLinkFromSource with ValuesToLink. It also moves the computation of ValuesToLink earlier. It is a bit simpler and an important step in slitting the linker into an ir mover and a linker proper. The test change is because we now avoid creating dead declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254559 91177308-0d34-0410-b5e6-96231b3b80d8