[all-commits] [llvm/llvm-project] 7904bd: [sanitizer_common] Create max_allocation_size_mb f...

Matt Morehouse via All-commits all-commits at lists.llvm.org
Wed Oct 30 11:26:26 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7904bd9409b86afbec763d0d95cb75ccef559379
      https://github.com/llvm/llvm-project/commit/7904bd9409b86afbec763d0d95cb75ccef559379
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M compiler-rt/lib/asan/asan_allocator.cpp
    M compiler-rt/lib/lsan/lsan_allocator.cpp
    M compiler-rt/lib/msan/msan_allocator.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_flags.inc
    M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
    A compiler-rt/test/sanitizer_common/TestCases/max_allocation_size.cpp

  Log Message:
  -----------
  [sanitizer_common] Create max_allocation_size_mb flag.

Summary:
The flag allows the user to specify a maximum allocation size that the
sanitizers will honor.  Any larger allocations will return nullptr or
crash depending on allocator_may_return_null.

Reviewers: kcc, eugenis

Reviewed By: kcc, eugenis

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

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




More information about the All-commits mailing list