[PATCH] D44333: [WebAssembly] Reorder synthetic functions to come first

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 10 08:11:14 PST 2018


ncw added a comment.

Thanks. We could consider sorting the type section (lexicographically by result/arg types) so at least we don't have to renumber all the type relocations through our test files when two functions swap order. Currently the types are ordered by functions that use them.

I'll put that on my todo list, although I don't really relish the thought of the test updates that would accompany that change when it's introduced...!


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44333





More information about the llvm-commits mailing list