summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff/DiffConsumer.h
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-08-23 08:37:22 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-08-23 08:37:22 +0000
commit51d193f8b366df812039b2b4b38525dfe16485b6 (patch)
treed0960a36ec40f35b442383e86f321b83c669dc7e /llvm/tools/llvm-diff/DiffConsumer.h
parent24c98189edb82b3e06acc27b3515f7857ea3fc68 (diff)
downloadbcm5719-llvm-51d193f8b366df812039b2b4b38525dfe16485b6.tar.gz
bcm5719-llvm-51d193f8b366df812039b2b4b38525dfe16485b6.zip
[ELF] - Fix for "Bug 34238 - LTO is optimizing away symbols referenced from linker scripts"
Code suggested by Rui Ueyama in PR34238 comments. Previously LTO optimized away symbols referenced from linker script because did not see that them are used from regular objects. Patch adds such symbols as undefined earlier, before running LTO, what sets IsUsedInRegularObj for them and fixes the issue. Differential revision: https://reviews.llvm.org/D37009 llvm-svn: 311534
Diffstat (limited to 'llvm/tools/llvm-diff/DiffConsumer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud