[LTO] Make sure symbol ordering is honoured also for data.
authorDavide Italiano <davide@freebsd.org>
Mon, 24 Jul 2017 20:15:07 +0000 (20:15 +0000)
committerDavide Italiano <davide@freebsd.org>
Mon, 24 Jul 2017 20:15:07 +0000 (20:15 +0000)
commit957f1206e9a0419b1c0adbe5136d9912a664d317
tree0cb599def726d3de52d3e099c927d25f641c51d6
parent206c973b1b3b2b234e166bbaf8f8da7a2dc8c23b
[LTO] Make sure symbol ordering is honoured also for data.

Follow-up to r308915 suggested by Rafael and Peter.

llvm-svn: 308920
lld/ELF/LTO.cpp
lld/test/ELF/lto/Inputs/data-ordering-lto.ll [new file with mode: 0644]
lld/test/ELF/lto/data-ordering-lto.s [new file with mode: 0644]