diff options
Diffstat (limited to 'compiler-rt/lib/asan/asan_interface.h')
| -rw-r--r-- | compiler-rt/lib/asan/asan_interface.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/compiler-rt/lib/asan/asan_interface.h b/compiler-rt/lib/asan/asan_interface.h index 7506586fefe..90598b40ff8 100644 --- a/compiler-rt/lib/asan/asan_interface.h +++ b/compiler-rt/lib/asan/asan_interface.h @@ -107,11 +107,11 @@ extern "C" {    // memory, returns the maximal possible allocation size, otherwise returns    // "size".    size_t __asan_get_estimated_allocated_size(size_t size); -  // Returns true if p is NULL or if p was returned by the ASan allocator and +  // Returns true if p was returned by the ASan allocator and    // is not yet freed.    bool __asan_get_ownership(const void *p);    // Returns the number of bytes reserved for the pointer p. -  // Requires (get_ownership(p) == true). +  // Requires (__asan_get_ownership(p) == true).    size_t __asan_get_allocated_size(const void *p);    // Number of bytes, allocated and not yet freed by the application.    size_t __asan_get_current_allocated_bytes(); | 

