summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2017-11-27 05:51:10 +0000
committerIgor Kudrin <ikudrin@accesssoftek.com>2017-11-27 05:51:10 +0000
commit40007586fcde4f77a4f09fc6b916fba45bb55d84 (patch)
treebff5a68d4a6add98c8c9b88725a18f18c9a1fdad /llvm/lib/CodeGen/BranchFolding.cpp
parent2ce208d8e2a7a403ffbf66bbf8811d55495341d3 (diff)
downloadbcm5719-llvm-40007586fcde4f77a4f09fc6b916fba45bb55d84.tar.gz
bcm5719-llvm-40007586fcde4f77a4f09fc6b916fba45bb55d84.zip
[ELF] Do not keep symbols if they referenced only from discarded sections.
This patch also ensures that in case of "--as-needed" is used, DT_NEEDED entries are not created if they are required only by these eliminated symbols. Differential Revision: https://reviews.llvm.org/D38790 llvm-svn: 319008
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud