[all-commits] [llvm/llvm-project] 3f7c3e: [Asan] Fix __asan_update_allocation_context

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Sep 10 20:00:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f7c3e84ad69f1ffa767b1b7ce3aa36de6c30f87
      https://github.com/llvm/llvm-project/commit/3f7c3e84ad69f1ffa767b1b7ce3aa36de6c30f87
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M compiler-rt/lib/asan/asan_allocator.cpp
    M compiler-rt/lib/asan/asan_allocator.h
    M compiler-rt/test/asan/TestCases/asan_update_allocation.cpp

  Log Message:
  -----------
  [Asan] Fix __asan_update_allocation_context

Update both thread and stack.
Update thread and stack as atomic operation.
Keep all 32bit of TID as now we have enough bits.

Depends on D87135.

Reviewed By: morehouse

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




More information about the All-commits mailing list