[all-commits] [llvm/llvm-project] 219a1d: [libc] Fix running benchmarks under msan/asan

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Sep 8 07:54:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 219a1d217dd95f98612f7ac5d8f25b737c7f5e8b
      https://github.com/llvm/llvm-project/commit/219a1d217dd95f98612f7ac5d8f25b737c7f5e8b
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M libc/benchmarks/LibcMemoryBenchmark.h

  Log Message:
  -----------
  [libc] Fix running benchmarks under msan/asan

asan/msan intercepts `aligned_malloc` and misbehave when the requested
alignment is greater than 512.
https://github.com/llvm/llvm-project/blob/b041b613e6fff713fc9ad6dbc73024286fb2fc93/compiler-rt/lib/asan/asan_allocator.cpp#L430-L431




More information about the All-commits mailing list