Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan.cpp188 static char *memory_usage_buffer = nullptr; variable
191 memory_usage_buffer = in InitMemoryUsage()
193 CHECK(memory_usage_buffer); in InitMemoryUsage()
194 memory_usage_buffer[0] = '\0'; in InitMemoryUsage()
195 DecorateMapping((uptr)memory_usage_buffer, kMemoryUsageBufferSize, in InitMemoryUsage()
196 memory_usage_buffer); in InitMemoryUsage()
202 if (!memory_usage_buffer) in UpdateMemoryUsage()
206 internal_strncpy(memory_usage_buffer, s.data(), kMemoryUsageBufferSize - 1); in UpdateMemoryUsage()
207 memory_usage_buffer[kMemoryUsageBufferSize - 1] = '\0'; in UpdateMemoryUsage()