[WebAssembly] Use MapVector to stabilize iteration order after D150803
authorFangrui Song <i@maskray.me>
Thu, 20 Jul 2023 07:06:47 +0000 (00:06 -0700)
committerFangrui Song <i@maskray.me>
Thu, 20 Jul 2023 07:06:47 +0000 (00:06 -0700)
commit845b03cea46d5f9d071384dc74786977ae9e70f5
tree2041e63a10fb21b7d8f2c70c67fff43ed3f7c176
parent94830bf56cb660feb3ee7ead39cc0fbb70e0c0b5
[WebAssembly] Use MapVector to stabilize iteration order after D150803

StringMap iteration order is not guaranteed to be deterministic
(https://llvm.org/docs/ProgrammersManual.html#llvm-adt-stringmap-h).
llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp