[all-commits] [llvm/llvm-project] c42e55: [NFC][sanitizer] Delegate ArrayRef constructors

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Jun 2 14:32:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c42e555dc2b2df45027df62a28314446802cd8b7
      https://github.com/llvm/llvm-project/commit/c42e555dc2b2df45027df62a28314446802cd8b7
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h

  Log Message:
  -----------
  [NFC][sanitizer] Delegate ArrayRef constructors


  Commit: 0375a2dc7d090cd43d8bf54f35ef381854d40cb6
      https://github.com/llvm/llvm-project/commit/0375a2dc7d090cd43d8bf54f35ef381854d40cb6
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M compiler-rt/lib/lsan/lsan_common.cpp
    M compiler-rt/lib/lsan/lsan_common.h

  Log Message:
  -----------
  [NFC][sanitizer] Avoid O(N^2) algorithm

Usually root_regions size is small so unlikey
this change will provide a noticable difference.

However it's easy to make sure that even with
large number of root_regions it works reasonably
fast.

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


Compare: https://github.com/llvm/llvm-project/compare/0f49116e261c...0375a2dc7d09


More information about the All-commits mailing list