[all-commits] [llvm/llvm-project] 0ea6b8: [clang-linker-wrapper] Use MapVector to stabilize ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 19 11:04:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ea6b8e476c28746f4434db6515fcffe2f9cbe4b
      https://github.com/llvm/llvm-project/commit/0ea6b8e476c28746f4434db6515fcffe2f9cbe4b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M clang/test/Driver/linker-wrapper-libs.c
    M clang/test/Driver/linker-wrapper.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [clang-linker-wrapper] Use MapVector to stabilize iteration order

DenseMap iteration order is not guaranteed to be deterministic.

Without the change, clang/test/Driver/linker-wrapper{,-libs}.c would
fail when `combineHashValue` changes (#95970).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list