[ELF] - Get rid of SectionOrder array.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 21 Apr 2016 10:22:02 +0000 (10:22 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 21 Apr 2016 10:22:02 +0000 (10:22 +0000)
commit71b26e94fdde796f7033ea47a9ce2d0deadec583
tree46d6884a5b14875890b86bfa8261507f6dc5758b
parentb5737c1491df23a13cf64621f0fdb5d9e220ca6d
[ELF] - Get rid of SectionOrder array.

SectionOrder vector was a part of LinkerScript class.

It can be removed because Commands vector contains the
same information and SectiorOrder is just a subset.

Differential revision: http://reviews.llvm.org/D19171

llvm-svn: 266974
lld/ELF/LinkerScript.cpp
lld/ELF/LinkerScript.h
lld/test/ELF/linkerscript-orphans.s [new file with mode: 0644]