Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/tests/
Dbacktrace_fake.cpp27 static std::deque<std::vector<uintptr_t>> g_fake_backtrace; variable
30 g_fake_backtrace.clear(); in backtrace_fake_clear_all()
34 g_fake_backtrace.push_back(ips); in backtrace_fake_add()
44 if (frame_num == 0 || g_fake_backtrace.size() == 0) { in backtrace_get()
48 size_t ips_size = g_fake_backtrace[0].size(); in backtrace_get()
50 memcpy(frames, g_fake_backtrace[0].data(), sizeof(uintptr_t) * total_frames); in backtrace_get()
51 g_fake_backtrace.pop_front(); in backtrace_get()