/external/libunwind/src/unwind/ |
BacktraceWrapper.c | 2 * accidentally includes backtrace.o and Backtrace.o causing duplicate 5 #include "Backtrace.c"
|
/external/e2fsprogs/debian/scripts/ |
test-backtrace | 3 # Test to see if backtrace requires a library in /usr/lib 4 # Returns true if the backtrace command works and requires a library in /usr/lib 8 cat > /tmp/backtrace$$.c << EOF 17 frames = backtrace(stack_syms, 32); 22 if ! cc -o /tmp/backtrace$$ /tmp/backtrace$$.c; then 26 if ! ldd /tmp/backtrace$$ > /tmp/backtrace$$.ldd 2>&1 ; then 30 grep -q /usr/lib /tmp/backtrace$$.ldd 33 /bin/rm -f /tmp/backtrace$$ [all...] |
/external/valgrind/memcheck/tests/ |
deep-backtrace.stderr.exp | 2 at 0x........: f1 (deep-backtrace.c:1) 3 by 0x........: f2 (deep-backtrace.c:2) 4 by 0x........: f3 (deep-backtrace.c:3) 5 by 0x........: f4 (deep-backtrace.c:4) 6 by 0x........: f5 (deep-backtrace.c:5) 7 by 0x........: f6 (deep-backtrace.c:6) 8 by 0x........: f7 (deep-backtrace.c:7) 9 by 0x........: f8 (deep-backtrace.c:8) 10 by 0x........: f9 (deep-backtrace.c:9) 11 by 0x........: f10 (deep-backtrace.c:10 [all...] |
deep-backtrace.vgtest | 1 prog: deep-backtrace
|
/external/libunwind_llvm/test/ |
libunwind_01.pass.cpp | 4 void backtrace(int lower_bound) { function 25 backtrace(i); 29 backtrace(i); 34 backtrace(i);
|
/system/core/libbacktrace/ |
backtrace_test.cpp | 42 #include <backtrace/Backtrace.h> 43 #include <backtrace/BacktraceMap.h> 76 Backtrace* backtrace; member in struct:dump_thread_t 94 std::string DumpFrames(Backtrace* backtrace) { 95 if (backtrace->NumFrames() == 0) { 100 for (size_t i = 0; i < backtrace->NumFrames(); i++) { 101 frame += " " + backtrace->FormatFrameData(i) + '\n' 1429 Backtrace* backtrace = Backtrace::Create(pid, tid); local 1440 Backtrace* backtrace = Backtrace::Create(pid, tid); local [all...] |
BacktracePtrace.h | 23 #include <backtrace/Backtrace.h> 27 class BacktracePtrace : public Backtrace { 29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {}
|
/external/libchrome/base/trace_event/ |
heap_profiler_allocation_context.cc | 22 for (size_t i = 0; i < arraysize(ctx.backtrace.frames); i++) 23 ctx.backtrace.frames[i] = nullptr; 30 bool operator==(const Backtrace& lhs, const Backtrace& rhs) { 37 return (lhs.backtrace == rhs.backtrace) && (lhs.type_name == rhs.type_name); 45 using base::trace_event::Backtrace; 47 size_t hash<Backtrace>::operator()(const Backtrace& backtrace) const [all...] |
heap_profiler_allocation_context.h | 22 // The backtrace in the allocation context is a snapshot of the stack. For now, 25 // case, |Backtrace| and |AllocationContextTracker::GetContextSnapshot| might 28 // The number of stack frames stored in the backtrace is a trade off between 40 struct BASE_EXPORT Backtrace { 41 // Unused backtrace frames are filled with nullptr frames. If the stack is 48 bool BASE_EXPORT operator==(const Backtrace& lhs, const Backtrace& rhs); 56 // An allocation context with empty backtrace and unknown type. 59 Backtrace backtrace; member in struct:base::trace_event::AllocationContext [all...] |
/system/core/debuggerd/ |
backtrace.cpp | 34 #include <backtrace/Backtrace.h> 38 #include "backtrace.h" 59 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr); 62 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", procname); 64 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); 68 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); 89 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid); 91 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(pid, tid, map)) [all...] |
machine.h | 22 #include <backtrace/Backtrace.h> 26 void dump_memory_and_code(log_t* log, Backtrace* backtrace);
|
backtrace.h | 27 class Backtrace; 30 // Dumps a backtrace using a format similar to what Dalvik uses so that the result 35 /* Dumps the backtrace in the backtrace data structure to the log. */ 36 void dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix);
|
elf_utils.cpp | 26 #include <backtrace/Backtrace.h> 36 Backtrace* backtrace, uintptr_t base_addr, uint8_t* e_ident, std::string* build_id) { 42 if (backtrace->Read(base_addr + EI_NIDENT, reinterpret_cast<uint8_t*>(&hdr) + EI_NIDENT, 49 if (backtrace->Read(base_addr + hdr.e_phoff + i * hdr.e_phentsize, 59 if (backtrace->Read(addr, reinterpret_cast<uint8_t*>(&nhdr), sizeof(nhdr)) != sizeof(nhdr)) { 72 if (backtrace->Read(addr, build_id_data, nhdr.n_descsz) != nhdr.n_descsz) { 98 bool elf_get_build_id(Backtrace* backtrace, uintptr_t addr, std::string* build_id) [all...] |
/external/libunwind/doc/ |
unw_backtrace.man | 16 \-\- return backtrace for the calling program 33 backtrace(void **buffer, 41 is a convenient routine for obtaining the backtrace for 48 called backtrace(). 52 backtrace() 56 aliases backtrace() 59 calling backtrace()
|
unw_backtrace.tex | 8 \begin{Name}{3}{unw\_backtrace}{David Mosberger-Tang}{Programming Library}{unw\_backtrace}unw\_backtrace -- return backtrace for the calling program 19 \Type{int} \Func{backtrace}(\Type{void~**}\Var{buffer}, \Type{int}~\Var{size});\\ 23 \Func{unw\_backtrace}() is a convenient routine for obtaining the backtrace for 28 called \Func{backtrace}(). The prototype for this function is usually obtained 30 \Func{backtrace}() is not provided by \Prog{libunwind}. \Prog{libunwind} weakly 31 aliases \Func{backtrace}() to \Func{unw\_backtrace}(), so when a program 32 calling \Func{backtrace}() is linked against \Prog{libunwind}, it may end up
|
/system/core/debuggerd/x86/ |
machine.cpp | 24 #include <backtrace/Backtrace.h> 30 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { 32 if (ptrace(PTRACE_GETREGS, backtrace->Tid(), 0, &r) == -1) { 37 dump_memory(log, backtrace, static_cast<uintptr_t>(r.eax), "memory near eax:"); 38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ebx), "memory near ebx:"); 39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ecx), "memory near ecx:"); 40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.edx), "memory near edx:"); 41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.esi), "memory near esi:") [all...] |
/system/core/libutils/ |
CallStack.cpp | 26 #include <backtrace/Backtrace.h> 44 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); 45 if (!backtrace->Unwind(ignoreDepth)) { 48 for (size_t i = 0; i < backtrace->NumFrames(); i++) { 49 mFrameLines.push_back(String8(backtrace->FormatFrameData(i).c_str()));
|
/external/clang/test/Misc/ |
macro-backtrace.c | 19 // RUN: %clang_cc1 -fsyntax-only -fmacro-backtrace-limit 5 %s 2>&1 \ 21 // CHECK-LIMIT: macro-backtrace.c:18:7: warning: comparison of distinct pointer types ('int *' and 'float *') 23 // CHECK-LIMIT: macro-backtrace.c:15:19: note: expanded from macro 'M12' 25 // CHECK-LIMIT: macro-backtrace.c:14:19: note: expanded from macro 'M11' 27 // CHECK-LIMIT: note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 28 // CHECK-LIMIT: macro-backtrace.c:6:18: note: expanded from macro 'M3' 30 // CHECK-LIMIT: macro-backtrace.c:5:18: note: expanded from macro 'M2' 32 // CHECK-LIMIT: macro-backtrace.c:4:23: note: expanded from macro 'M1' 37 // CHECK-NO-CARETS: macro-backtrace.c:18:7: warning: comparison of distinct pointer types ('int *' and 'float *' [all...] |
/external/clang/test/SemaTemplate/ |
instantiation-depth.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -ftemplate-depth 5 -ftemplate-backtrace-limit 4 %s 2 // RUN: %clang -fsyntax-only -Xclang -verify -ftemplate-depth-5 -ftemplate-backtrace-limit=4 %s 3 // RUN: %clang -fsyntax-only -Xclang -verify -ftemplate-depth=5 -ftemplate-backtrace-limit=4 %s 10 // expected-note {{skipping 2 contexts in backtrace}} \ 19 // RUN: %clang_cc1 -fsyntax-only -verify -ftemplate-depth 5 -ftemplate-backtrace-limit 4 -std=c++11 -DNOEXCEPT %s 27 // expected-note {{skipping 2 contexts in backtrace}} \
|
/external/elfutils/tests/ |
run-backtrace-core-x32.sh | 18 . $srcdir/backtrace-subr.sh 20 # backtrace.x32.exec is created by 21 # gcc -mx32 -static -o backtrace.x32.exec backtrace_child-backtrace-child.o -lpthread 22 # backtrace.x32.core was generated by running "backtrace.x32.exec --gencore"
|
backtrace-subr.sh | 101 testfiles backtrace.$arch.{exec,core} 102 tempfiles backtrace.$arch.{bt,err} 103 echo ./backtrace ./backtrace.$arch.{exec,core} 104 testrun ${abs_builddir}/backtrace -e ./backtrace.$arch.exec --core=./backtrace.$arch.core 1>backtrace.$arch.bt 2>backtrace.$arch.err || true 105 cat backtrace.$arch.{bt,err [all...] |
run-backtrace-core-aarch64.sh | 18 . $srcdir/backtrace-subr.sh 20 # backtrace.aarch64.exe is a -static binary of backtrace-child. 21 # backtrace.aarch64.core was generated by running the static backtrace-child
|
/system/core/debuggerd/x86_64/ |
machine.cpp | 25 #include <backtrace/Backtrace.h> 31 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { 33 if (ptrace(PTRACE_GETREGS, backtrace->Tid(), 0, &r) == -1) { 38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rax), "memory near rax:"); 39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rbx), "memory near rbx:"); 40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rcx), "memory near rcx:"); 41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdx), "memory near rdx:"); 42 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rsi), "memory near rsi:") [all...] |
/external/clang/test/Parser/ |
crash-report.c | 6 // REQUIRES: shell, backtrace
|
/external/compiler-rt/test/asan/TestCases/Darwin/ |
crashlog-stacktraces.c | 4 // Since ASan is built with -fomit-frame-pointer, backtrace is not able to 18 int i, frames = backtrace(callstack, 128); 25 fprintf(stderr, "END OF BACKTRACE\n"); 48 // CHECK: END OF BACKTRACE
|