[WebAssembly] Reorder exports to match symbol table order
authorNicholas Wilson <nicholas@nicholaswilson.me.uk>
Thu, 1 Mar 2018 09:38:02 +0000 (09:38 +0000)
committerNicholas Wilson <nicholas@nicholaswilson.me.uk>
Thu, 1 Mar 2018 09:38:02 +0000 (09:38 +0000)
commit4cdf5b8fa072af28e166b858ddb3e3fc93ddcba2
tree59f80917e10490bdeb5f4f0d924f267afe55ff81
parent77f19a384c008d319427bf4596d7c00be3b7a82a
[WebAssembly] Reorder exports to match symbol table order

This fixes a TODO introduced in rLLD325861.

Differential Revision: https://reviews.llvm.org/D43877

llvm-svn: 326424
14 files changed:
lld/test/wasm/alias.ll
lld/test/wasm/call-indirect.ll
lld/test/wasm/comdats.ll
lld/test/wasm/entry.ll
lld/test/wasm/export.ll
lld/test/wasm/load-undefined.test
lld/test/wasm/local-symbols.ll
lld/test/wasm/locals-duplicate.test
lld/test/wasm/visibility-hidden.ll
lld/test/wasm/weak-alias-overide.ll
lld/test/wasm/weak-alias.ll
lld/test/wasm/weak-symbols.ll
lld/test/wasm/weak-undefined.ll
lld/wasm/Writer.cpp