[all-commits] [llvm/llvm-project] 9b7b21: [lld-macho] Don't allocate memory in parallelForEach

Jez Ng via All-commits all-commits at lists.llvm.org
Fri Mar 11 10:32:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b7b21d2f7cfd6784fdb7adbc022b200a60105fa
      https://github.com/llvm/llvm-project/commit/9b7b21d2f7cfd6784fdb7adbc022b200a60105fa
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M lld/MachO/ICF.cpp

  Log Message:
  -----------
  [lld-macho] Don't allocate memory in parallelForEach

... since BumpPtrAllocator isn't thread-safe.

Reviewed By: #lld-macho, Roger

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




More information about the All-commits mailing list