[all-commits] [llvm/llvm-project] 359f17: [lld-macho] Use fixed chunk size for UUID

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jul 19 17:24:49 PDT 2023


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

  Changed paths:
    M lld/MachO/Writer.cpp

  Log Message:
  -----------
  [lld-macho] Use fixed chunk size for UUID

Chunk size decided by the thread count makes the UUID less deterministic
(e.g. across machines with different core counts.)
Follow ELF and just use a fixed chunksize.

Fixes: https://github.com/llvm/llvm-project/issues/63961

Reviewed By: #lld-macho, keith

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




More information about the All-commits mailing list