[all-commits] [llvm/llvm-project] 8db61e: [WebAssembly] Stabilize custom section order

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 22 09:37:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8db61ed29df0776046e64a0bd444f0baa7bc37e9
      https://github.com/llvm/llvm-project/commit/8db61ed29df0776046e64a0bd444f0baa7bc37e9
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-22 (Sat, 22 Jul 2023)

  Changed paths:
    M lld/test/wasm/custom-sections.ll
    M lld/test/wasm/debug-undefined-fs.s
    M lld/test/wasm/section-symbol-relocs.yaml
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [WebAssembly] Stabilize custom section order

It currently depends on the StringMap iteration order, which is not
guaranteed to be deterministic. Use MapVector to stabilize the order.




More information about the All-commits mailing list