diff options
author | Peter Smith <peter.smith@linaro.org> | 2018-05-15 08:57:21 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2018-05-15 08:57:21 +0000 |
commit | dbef8cc67c9918334c22f03e23e2dfa84ade464b (patch) | |
tree | b5fdfd07c8936ada276396dbbcbfb7284194b919 /llvm/tools/llvm-mca/RetireControlUnit.cpp | |
parent | 559d1e34df710a0c88dc775b014413c8f80804f7 (diff) | |
download | bcm5719-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