Do not print out removed ICF sections for -verbose.
authorRui Ueyama <ruiu@google.com>
Fri, 9 Feb 2018 17:55:09 +0000 (17:55 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 9 Feb 2018 17:55:09 +0000 (17:55 +0000)
commit7b90efbece7770e4717c14b67e6e29fdc67eeb80
treec78ddd939cb8f3b2da892baf9c34f95f54d5d8a4
parent4031ce15b865cbadf4f5d70ca466706405ca7252
Do not print out removed ICF sections for -verbose.

GNU gold doesn't print out ICF sections for -verbose. It only shows
them for -print-icf-sections. We printed out them for -verbose because
we didn't have -print-icf-sections. Now that we have the option, there's
no reason to print out for -verbose.

Differential Revision: https://reviews.llvm.org/D43100

llvm-svn: 324755
lld/ELF/ICF.cpp
lld/test/ELF/icf-absolute.s
lld/test/ELF/icf-comdat.s
lld/test/ELF/icf-i386.s
lld/test/ELF/icf-merge-sec.s
lld/test/ELF/icf-merge.s
lld/test/ELF/icf1.s
lld/test/ELF/icf2.s
lld/test/ELF/icf7.s
lld/test/ELF/icf9.s