[all-commits] [llvm/llvm-project] 4305f6: [msan] Implement __sanitizer_get_current_allocated...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed May 24 10:50:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4305f640f0e5d4c27b7787407bc84c80552fed11
      https://github.com/llvm/llvm-project/commit/4305f640f0e5d4c27b7787407bc84c80552fed11
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M compiler-rt/lib/msan/msan_allocator.cpp
    M compiler-rt/lib/msan/msan_allocator.h
    M compiler-rt/lib/msan/msan_thread.cpp
    M compiler-rt/test/sanitizer_common/TestCases/allocator_interface.cpp

  Log Message:
  -----------
  [msan] Implement __sanitizer_get_current_allocated_bytes

__sanitizer_get_current_allocated_bytes had as body, but allocator
caches were not registered to collect stats. It's done by
SizeClassAllocator64LocalCache::Init().

Reviewed By: kstoimenov

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




More information about the All-commits mailing list