Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/tests/
Dbacktrace_fake.cpp43 size_t backtrace_get(uintptr_t* frames, size_t frame_num) { in backtrace_get() argument
44 if (frame_num == 0 || g_fake_backtrace.size() == 0) { in backtrace_get()
49 size_t total_frames = (frame_num < ips_size) ? frame_num : ips_size; in backtrace_get()
/bionic/libc/malloc_debug/
Dbacktrace.cpp139 for (size_t frame_num = 0; frame_num < frame_count; frame_num++) { in backtrace_string() local
144 if (dladdr(reinterpret_cast<void*>(frames[frame_num]), &info) != 0) { in backtrace_string()
152 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string()
169 … buf, sizeof(buf), " #%02zd pc %" PAD_PTR " %s%s (%s+%" PRIuPTR ")\n", frame_num, in backtrace_string()
170 rel_pc, soname, offset_buf, demangle(symbol).c_str(), frames[frame_num] - offset); in backtrace_string()
173 buf, sizeof(buf), " #%02zd pc %" PAD_PTR " %s%s\n", frame_num, rel_pc, soname, in backtrace_string()
DGuardData.cpp66 size_t frame_num = backtrace_get(frames.data(), frames.size()); in LogFailure() local
67 frames.resize(frame_num); in LogFailure()
Dmalloc_debug.cpp130 size_t frame_num = backtrace_get(frames.data(), frames.size()); in LogTagError() local
131 frames.resize(frame_num); in LogTagError()