[all-commits] [llvm/llvm-project] 1231a2: [lsan][Darwin][nfc] Fix thread vector size

Leonard Grey via All-commits all-commits at lists.llvm.org
Fri Jul 15 14:36:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1231a2cec005b981955f25a119635f6a5f609043
      https://github.com/llvm/llvm-project/commit/1231a2cec005b981955f25a119635f6a5f609043
  Author: Leonard Grey <lgrey at chromium.org>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp

  Log Message:
  -----------
  [lsan][Darwin][nfc] Fix thread vector size

The reserve constructor was removed in 44f55509d75d8c67077810bb6d9f3bedaea05831
but this one was missed. As a result, we attempt to iterate through 1024 threads
each time, most of which are 0.

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




More information about the All-commits mailing list