summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/RetireControlUnit.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2018-05-15 08:57:21 +0000
committerPeter Smith <peter.smith@linaro.org>2018-05-15 08:57:21 +0000
commitdbef8cc67c9918334c22f03e23e2dfa84ade464b (patch)
treeb5fdfd07c8936ada276396dbbcbfb7284194b919 /llvm/tools/llvm-mca/RetireControlUnit.cpp
parent559d1e34df710a0c88dc775b014413c8f80804f7 (diff)
downloadbcm5719-llvm-dbef8cc67c9918334c22f03e23e2dfa84ade464b.tar.gz
bcm5719-llvm-dbef8cc67c9918334c22f03e23e2dfa84ade464b.zip
[ELF] Implement --keep-unique option
The --keep-unique <symbol> option is taken from gold. The intention is that <symbol> will be prevented from being folded by ICF. Although not specifically mentioned in the documentation <symbol> only matches global symbols, with a warning if the symbol is not found. The implementation finds the Section defining <symbol> and removes it from the set of sections considered for ICF. Differential Revision: https://reviews.llvm.org/D46755 llvm-svn: 332332
Diffstat (limited to 'llvm/tools/llvm-mca/RetireControlUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud