diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-21 17:14:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-21 17:14:55 +0000 |
commit | 713cab059ebb67c2f51d8da9d8e57be2b1dcd9c2 (patch) | |
tree | c92ff5eac147f406e87b6e2cb43543d6e5b37f11 /lib/ExecutionEngine/RuntimeDyld | |
parent | da39dd30ad3c969be3ac843307d4630807699538 (diff) | |
download | external_llvm-713cab059ebb67c2f51d8da9d8e57be2b1dcd9c2.zip external_llvm-713cab059ebb67c2f51d8da9d8e57be2b1dcd9c2.tar.gz external_llvm-713cab059ebb67c2f51d8da9d8e57be2b1dcd9c2.tar.bz2 |
Optimize more linkonce_odr values during LTO.
When a linkonce_odr value that is on the dso list is not unnamed_addr
we can still look to see if anything is actually using its address. If
not, it is safe to hide it.
This patch implements that by moving GlobalStatus to Transforms/Utils
and using it in Internalize.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld')
0 files changed, 0 insertions, 0 deletions