Fix --print-icf-sections output.
authorRui Ueyama <ruiu@google.com>
Thu, 8 Feb 2018 23:51:58 +0000 (23:51 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 8 Feb 2018 23:51:58 +0000 (23:51 +0000)
commit153b04f1becea6d3aa1cdfffb9204d5e43069fe0
tree14e5ca3325a85a921acebf1fe4d6636a3cc8d66b
parent086331b4ff4fcc8fd8cc97cc28a1306c6b712e5c
Fix --print-icf-sections output.

Previously, multiple chunks of --print-icf-sections messages were interleaved
and didn't make sense. This is because forEachClass is multi-threaded.

llvm-svn: 324683
lld/ELF/ICF.cpp