[all-commits] [llvm/llvm-project] 096348: [sanitizer] Lazy initialize AllocatorGlobalStats

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed May 24 16:11:05 PDT 2023


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

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_stats.h

  Log Message:
  -----------
  [sanitizer] Lazy initialize AllocatorGlobalStats

This allow to have no InitLinkerInitialized and let AllocatorGlobalStats
accept registration before allocator initialization.




More information about the All-commits mailing list