Home
last modified time | relevance | path

Searched refs:allocated_current_ (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.cpp152 if (allocated_end_ - allocated_current_ < (sptr)size) { in Allocate()
155 allocated_current_ = (char *)MmapOrDie(size_to_allocate, __func__); in Allocate()
156 allocated_end_ = allocated_current_ + size_to_allocate; in Allocate()
158 low_level_alloc_callback((uptr)allocated_current_, size_to_allocate); in Allocate()
161 CHECK(allocated_end_ - allocated_current_ >= (sptr)size); in Allocate()
162 void *res = allocated_current_; in Allocate()
163 allocated_current_ += size; in Allocate()
H A Dsanitizer_common.h223 char *allocated_current_; variable