summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-21 17:14:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-21 17:14:55 +0000
commit3d7fc25c7c08d25b97c56ab99aee1a8551c2155d (patch)
tree004ba3e61bf61d3fd7e7ade3ba671b98f0a4f5e5 /llvm/lib/CodeGen/StackProtector.cpp
parent63bb3e1182f79f52d15cbf658545515f6bcece7b (diff)
downloadbcm5719-llvm-3d7fc25c7c08d25b97c56ab99aee1a8551c2155d.tar.gz
bcm5719-llvm-3d7fc25c7c08d25b97c56ab99aee1a8551c2155d.zip
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. llvm-svn: 193090
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud