Remove unintended __sanitizer_get_allocation_bounds declaration
authorThurston Dang <thurston@google.com>
Mon, 3 Apr 2023 23:44:29 +0000 (23:44 +0000)
committerThurston Dang <thurston@google.com>
Wed, 5 Apr 2023 19:11:16 +0000 (19:11 +0000)
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

compiler-rt/lib/sanitizer_common/sanitizer_allocator_internal.h

index adbdad5..62523c7 100644 (file)
@@ -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