diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2018-02-01 16:00:46 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2018-02-01 16:00:46 +0000 |
commit | 9c6e2fd5a4d37df0cf82486e0648583650b297f9 (patch) | |
tree | 5b9d358ddeb51a37a2668e9ba17aaa05802689d8 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 91af9048b26b02b82b4eee637dabb6c81e275905 (diff) | |
download | bcm5719-llvm-9c6e2fd5a4d37df0cf82486e0648583650b297f9.tar.gz bcm5719-llvm-9c6e2fd5a4d37df0cf82486e0648583650b297f9.zip |
[ELF] Add --print-icf-sections flag
Currently ICF information is output through stderr if the "--verbose"
flag is used. This differs to Gold for example, which uses an explicit
flag to output this to stdout. This commit adds the
"--print-icf-sections" and "--no-print-icf-sections" flags and changes
the output message format for clarity and consistency with
"--print-gc-sections". These messages are still output to stderr if
using the verbose flag. However to avoid intermingled message output to
console, this will not occur when the "--print-icf-sections" flag is
used.
Existing tests have been modified to expect the new message format from
stderr.
Patch by Owen Reynolds.
Differential Revision: https://reviews.llvm.org/D42375
Reviewers: ruiu, rafael
Reviewed by:
llvm-svn: 323976
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions