[all-commits] [llvm/llvm-project] 943b0c: [NFC][Asan] Remove chunk pointer from metadata

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Sep 15 00:22:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 943b0c8bffc55eba4cebaaffc4bd33856e271e94
      https://github.com/llvm/llvm-project/commit/943b0c8bffc55eba4cebaaffc4bd33856e271e94
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-09-15 (Tue, 15 Sep 2020)

  Changed paths:
    M compiler-rt/lib/asan/asan_allocator.cpp

  Log Message:
  -----------
  [NFC][Asan] Remove chunk pointer from metadata

kAllocBegMagic should be enough.
kAllocBegMagic is already set for the Secondary allocations.
kAllocBegMagic is good enough for the Primary, but it's even safer for
the Secondary allocator as all allocated block are from mmap.

Depends on D87646.

Reviewed By: morehouse

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




More information about the All-commits mailing list