[all-commits] [llvm/llvm-project] 08507d: [Asan] Cleanup kAllocBegMagic setup

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 08507d83be15387c85edb538517b66add9dc6295
      https://github.com/llvm/llvm-project/commit/08507d83be15387c85edb538517b66add9dc6295
  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:
  -----------
  [Asan] Cleanup kAllocBegMagic setup

Make it atomic.
Wrap it into class.
Set it late after chunk is initialized.
Reset it soon when the chunk is still valid.

Depends on D87645.

Reviewed By: morehouse

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




More information about the All-commits mailing list