Removed a wrong assertion about non-colorable sections.
authorRui Ueyama <ruiu@google.com>
Fri, 2 Dec 2016 17:23:58 +0000 (17:23 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 2 Dec 2016 17:23:58 +0000 (17:23 +0000)
commit83ec681a5cc112c3ad933f944281c00a6303f646
tree8a667db6b56aa892a7787b90c7e507abf4602552
parentb2116d9b94be5b99713f20147377d83be79661c6
Removed a wrong assertion about non-colorable sections.

The assertion asserted that colorable sections can never have
a reference to non-colorable sections, but that was simply wrong.
They can have references to non-colorable sections. If that's the
case, referenced sections must be the same in terms of pointer
comparison.

llvm-svn: 288511
lld/ELF/ICF.cpp
lld/test/ELF/Inputs/icf-non-mergeable.s [new file with mode: 0644]
lld/test/ELF/icf-non-mergeable.s [new file with mode: 0644]