[compiler-rt] ae072da - [NFC][sanitizer] Remove unused method

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 16:22:50 PDT 2023


Author: Vitaly Buka
Date: 2023-05-24T16:22:36-07:00
New Revision: ae072da552c1333d4c034c36661156d66735bf54

URL: https://github.com/llvm/llvm-project/commit/ae072da552c1333d4c034c36661156d66735bf54
DIFF: https://github.com/llvm/llvm-project/commit/ae072da552c1333d4c034c36661156d66735bf54.diff

LOG: [NFC][sanitizer] Remove unused method

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/sanitizer_allocator_stats.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_stats.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_stats.h
index 9fb447763bec..5b671fb9f253 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_stats.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_stats.h
@@ -28,8 +28,6 @@ class AllocatorStats {
   void Init() {
     internal_memset(this, 0, sizeof(*this));
   }
-  void InitLinkerInitialized() {}
-
   void Add(AllocatorStat i, uptr v) {
     v += atomic_load(&stats_[i], memory_order_relaxed);
     atomic_store(&stats_[i], v, memory_order_relaxed);


        


More information about the llvm-commits mailing list