Home
last modified time | relevance | path

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

/external/compiler-rt/lib/lsan/
Dlsan_common.cc35 THREADLOCAL int disable_counter; variable
36 bool DisabledInThisThread() { return disable_counter > 0; } in DisabledInThisThread()
37 void DisableInThisThread() { disable_counter++; } in DisableInThisThread()
39 if (!disable_counter && common_flags()->detect_leaks) { in EnableInThisThread()
43 disable_counter--; in EnableInThisThread()