Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp74 static thread_local_data_t *get_tls_val(bool alloc) { in get_tls_val() function
90 thread_local_data_t *data = get_tls_val(false); in DisabledInThisThread()
94 void DisableInThisThread() { ++get_tls_val(true)->disable_counter; } in DisableInThisThread()
97 int *disable_counter = &get_tls_val(true)->disable_counter; in EnableInThisThread()
105 thread_local_data_t *data = get_tls_val(false); in GetCurrentThread()
110 get_tls_val(true)->current_thread = tctx; in SetCurrentThread()
113 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; } in GetAllocatorCache()