[all-commits] [llvm/llvm-project] 8ae815: [sanitizer] Switch StackStore to 8 MiB blocks

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Nov 26 14:00:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ae815cb19a0ead6267651b555a008471494c55a
      https://github.com/llvm/llvm-project/commit/8ae815cb19a0ead6267651b555a008471494c55a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
    M compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c

  Log Message:
  -----------
  [sanitizer] Switch StackStore to 8 MiB blocks

Larger blocks are more convenient for compressions.
Blocks are allocated with MmapNoReserveOrDie to save some memory.

Also it's 15% faster on StackDepotBenchmarkSuite

Depends on D114464.

Reviewed By: morehouse

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




More information about the All-commits mailing list