[lto] Add a useful test case.
authorSean Silva <chisophugis@gmail.com>
Fri, 11 Mar 2016 01:10:37 +0000 (01:10 +0000)
committerSean Silva <chisophugis@gmail.com>
Fri, 11 Mar 2016 01:10:37 +0000 (01:10 +0000)
commitb1069239a0260bf9998a6da15a6d10778274ba45
tree94523d7886bc07c738e0b4d5d4ea5dee6349b3c6
parent4dc3c8df45f30145b26129c3766b0eec5e894f44
[lto] Add a useful test case.

This is reduced from an issue found in practice.
The original version of D18012 needed another patch to handle this, but
it now works since we are using a more correct GV->hasAppendingLinkage()
check that Rafael suggested.

This is what remains of that other patch.

llvm-svn: 263181
lld/test/ELF/lto/linkage.ll