[all-commits] [llvm/llvm-project] b4db2a: [sanitizer] Fix StackDepotPrintAll

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Oct 12 10:57:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4db2a500dca7a427736bc7074023b7c303d5c9d
      https://github.com/llvm/llvm-project/commit/b4db2a500dca7a427736bc7074023b7c303d5c9d
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stackdepotbase.h
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp

  Log Message:
  -----------
  [sanitizer] Fix StackDepotPrintAll

unlock corrupted backets by using s set by loop to nullptr.
Also StackDepot supports iterating without locking.

Reviewed By: dvyukov

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




More information about the All-commits mailing list