diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-09-25 09:31:43 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-09-25 09:31:43 +0000 |
commit | d28c26bbdd9e6e55cc0a6156e9879f7e0ca36329 (patch) | |
tree | 36cf70a0c54dde9c6ec3d19c2fcab4a6647caedc /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 2807c0a442cc2d5e5f13a5f3f5b2c080aa3e7283 (diff) | |
download | bcm5719-llvm-d28c26bbdd9e6e55cc0a6156e9879f7e0ca36329.tar.gz bcm5719-llvm-d28c26bbdd9e6e55cc0a6156e9879f7e0ca36329.zip |
[ELF] - LTO: do not optimize away symbols accessed from linkerscript.
Previously when BC file had global variable that was accessed from script,
it was optimized away or inlined by IPO.
In this patch I add symbols at left side of assignment expression as LinkerRedefined,
what prevents optimization for them.
Differential revision: https://reviews.llvm.org/D37059
llvm-svn: 314097
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions