Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
Dmalloc_debug.cpp64 DebugData* g_debug; variable
176 if (g_debug != nullptr) { in InitAtfork()
177 g_debug->PrepareFork(); in InitAtfork()
181 if (g_debug != nullptr) { in InitAtfork()
182 g_debug->PostForkParent(); in InitAtfork()
186 if (g_debug != nullptr) { in InitAtfork()
187 g_debug->PostForkChild(); in InitAtfork()
194 if (g_debug->config().options() & BACKTRACE_FULL) { in BacktraceAndLog()
219 if (g_debug->config().options() & FREE_TRACK) { in LogError()
226 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogError()
[all …]
DPointerData.cpp82 g_debug->pointer->ToggleBacktraceEnabled(); in ToggleBacktraceEnable()
86 g_debug->pointer->EnableDumping(); in EnableDump()
140 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace()
163 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace()
190 if (g_debug->config().options() & BACKTRACE_FULL) { in RemoveBacktrace()
200 hash_index = AddBacktrace(g_debug->config().backtrace_frames()); in Add()
257 if (g_debug->config().options() & BACKTRACE_FULL) { in LogBacktrace()
278 uint8_t fill_free_value = g_debug->config().fill_free_value(); in LogFreeError()
291 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFreeError()
298 if (g_debug->HeaderEnabled()) { in VerifyFreedPointer()
[all …]
Ddebug_disable.cpp38 if (g_debug == nullptr || pthread_getspecific(g_disable_key) != nullptr) { in DebugCallsDisabled()
DDebugData.h100 extern DebugData* g_debug;
DGuardData.cpp67 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFailure()
DRecordData.cpp118 g_debug->record->SetToDump(); in RecordDump()