[all-commits] [llvm/llvm-project] b5b1b3: [sanitizer] Switch to StackDepotNode to 64bit hash

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Oct 6 10:45:29 PDT 2021


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

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

  Log Message:
  -----------
  [sanitizer] Switch to StackDepotNode to 64bit hash

Now we can avoid scanning the stack on fast path.
The price is the false stack trace with probability of the hash collision.
This increase performance of lsan by 6% and pre-requirement for stack compression.

Depends on D111182.

Reviewed By: morehouse, dvyukov

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




More information about the All-commits mailing list