[compiler-rt] 9184373 - Remove unintended __sanitizer_get_allocation_bounds declaration

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 12:12:54 PDT 2023


Author: Thurston Dang
Date: 2023-04-05T19:11:16Z
New Revision: 918437389f412734ac1c6efa69c2b4de311d0282

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

LOG: Remove unintended __sanitizer_get_allocation_bounds declaration

This removes an unintentional function declaration, that was accidentally
added in D147005 (from an incomplete refactoring of __sanitizer_get_allocation_bounds).

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_internal.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_internal.h
index adbdad5a1ee0c..62523c7ae187c 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_internal.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_internal.h
@@ -51,8 +51,6 @@ void InternalFree(void *p, InternalAllocatorCache *cache = nullptr);
 void InternalAllocatorLock();
 void InternalAllocatorUnlock();
 InternalAllocator *internal_allocator();
-int __sanitizer_get_allocation_bounds(const void *p, void **start,
-                                      unsigned long long *size);
 } // namespace __sanitizer
 
 #endif // SANITIZER_ALLOCATOR_INTERNAL_H


        


More information about the llvm-commits mailing list