Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.cc68 static atomic_uint8_t internal_allocator_initialized;
77 if (atomic_load(&internal_allocator_initialized, memory_order_acquire) == 0) {
79 if (atomic_load(&internal_allocator_initialized, memory_order_relaxed) ==
82 atomic_store(&internal_allocator_initialized, 1, memory_order_release);
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.cpp88 static atomic_uint8_t internal_allocator_initialized; variable
97 if (atomic_load(&internal_allocator_initialized, memory_order_acquire) == 0) { in internal_allocator()
99 if (atomic_load(&internal_allocator_initialized, memory_order_relaxed) == in internal_allocator()
102 atomic_store(&internal_allocator_initialized, 1, memory_order_release); in internal_allocator()