[all-commits] [llvm/llvm-project] ae833d: sanitizer_common: remove unnecessary GetMemoryProf...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Oct 29 04:44:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae833dbb8181183fff27d69de19f395a9c0fa422
      https://github.com/llvm/llvm-project/commit/ae833dbb8181183fff27d69de19f395a9c0fa422
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
    M compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp

  Log Message:
  -----------
  sanitizer_common: remove unnecessary GetMemoryProfile arg

stats_size argument is unnecessary in GetMemoryProfile and in the callback.
It just clutters code. The callback knowns how many stats to expect.

Depends on D112789.

Reviewed By: melver

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




More information about the All-commits mailing list