[all-commits] [llvm/llvm-project] 893660: [scudo] [GWP-ASan] Add GWP-ASan variant of scudo b...

Mitch Phillips via All-commits all-commits at lists.llvm.org
Mon May 10 12:15:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8936608e6f4dbd2a80acde660849cd87ef5c9d26
      https://github.com/llvm/llvm-project/commit/8936608e6f4dbd2a80acde660849cd87ef5c9d26
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/benchmarks/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/benchmarks/malloc_benchmark.cpp
    M compiler-rt/lib/scudo/standalone/combined.h

  Log Message:
  -----------
  [scudo] [GWP-ASan] Add GWP-ASan variant of scudo benchmarks.

GWP-ASan is the "production" variant as compiled by compiler-rt, and it's useful to be able to benchmark changes in GWP-ASan or Scudo's GWP-ASan hooks across versions. GWP-ASan is sampled, and sampled allocations are much slower, but given the amount of allocations that happen under test here - we actually get a reasonable representation of GWP-ASan's negligent performance impact between runs.

Reviewed By: cryptoad

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




More information about the All-commits mailing list