Home
last modified time | relevance | path

Searched refs:backtrace (Results 1 – 25 of 166) sorted by relevance

1234567

/external/mesa3d/src/util/
Du_debug_stack_android.cpp50 debug_backtrace_capture(debug_stack_frame *backtrace, in debug_backtrace_capture() argument
63 backtrace[i].procname = NULL; in debug_backtrace_capture()
75 backtrace[i].procname = intern_symbol(frame->func_name.c_str()); in debug_backtrace_capture()
76 backtrace[i].start_ip = frame->pc; in debug_backtrace_capture()
77 backtrace[i].off = frame->func_offset; in debug_backtrace_capture()
78 backtrace[i].map = intern_symbol(frame->map.Name().c_str()); in debug_backtrace_capture()
79 backtrace[i].map_off = frame->rel_pc; in debug_backtrace_capture()
81 backtrace[i].procname = NULL; in debug_backtrace_capture()
91 debug_backtrace_dump(const debug_stack_frame *backtrace, in debug_backtrace_dump() argument
95 if (backtrace[i].procname) in debug_backtrace_dump()
[all …]
Du_debug_stack.c88 debug_backtrace_capture(struct debug_stack_frame *backtrace, in debug_backtrace_capture() argument
111 backtrace[i].start_ip = pip.start_ip; in debug_backtrace_capture()
112 backtrace[i].off = ip - pip.start_ip; in debug_backtrace_capture()
113 backtrace[i].procname = symbol_name_cached(&cursor, &pip); in debug_backtrace_capture()
119 backtrace[i].start_ip = 0; in debug_backtrace_capture()
148 debug_backtrace_dump(const struct debug_stack_frame *backtrace, in debug_backtrace_dump() argument
155 if (!backtrace[i].start_ip) in debug_backtrace_dump()
157 filename = frame_info(&backtrace[i], &offset); in debug_backtrace_dump()
159 backtrace[i].procname, backtrace[i].off, in debug_backtrace_dump()
160 frame_ip(&backtrace[i])); in debug_backtrace_dump()
[all …]
Du_debug_stack_test.cpp33 struct debug_stack_frame backtrace[16]; in func_a() local
36 debug_backtrace_capture(backtrace, 0, 16); in func_a()
37 debug_backtrace_dump(backtrace, 16); in func_a()
43 struct debug_stack_frame backtrace[16]; in func_b() local
48 debug_backtrace_capture(backtrace, 0, 16); in func_b()
49 debug_backtrace_dump(backtrace, 16); in func_b()
60 struct debug_stack_frame backtrace[16]; in TEST() local
66 debug_backtrace_capture(backtrace, 0, 16); in TEST()
67 debug_backtrace_print(stderr, backtrace, 16); in TEST()
70 debug_backtrace_capture(backtrace, 0, 16); in TEST()
[all …]
Du_debug_stack.h75 debug_backtrace_capture(struct debug_stack_frame *backtrace,
80 debug_backtrace_dump(const struct debug_stack_frame *backtrace,
85 const struct debug_stack_frame *backtrace,
/external/elfutils/tests/
Dbacktrace-subr.sh115 testfiles backtrace.$arch.{exec,core}
116 tempfiles backtrace.$arch.{bt,err}
117 echo ./backtrace ./backtrace.$arch.{exec,core}
118 …testrun ${abs_builddir}/backtrace -e ./backtrace.$arch.exec --core=./backtrace.$arch.core 1>backtr…
119 cat backtrace.$arch.{bt,err}
120 check_unsupported backtrace.$arch.err backtrace.$arch.core
121 check_all backtrace.$arch.{bt,err} backtrace.$arch.core
122 check_backtracegen backtrace.$arch.bt backtrace.$arch.core
132 …(set +ex; testrun ${abs_builddir}/backtrace --backtrace-exec=${abs_builddir}/$child 1>$child.bt 2>…
197 …(set +ex; testrun ${abs_builddir}/backtrace -e ${abs_builddir}/$child --core=$core 1>$core.bt 2>$c…
[all …]
DMakefile.am53 dwfl-report-elf-align varlocs backtrace backtrace-child \ program
54 backtrace-data backtrace-dwarf debuglink debugaltlink \
70 check_PROGRAMS += backtrace-child-biarch
74 backtrace-child-biarch$(EXEEXT): backtrace-child.c
131 run-backtrace-native.sh run-backtrace-data.sh run-backtrace-dwarf.sh \
132 run-backtrace-native-biarch.sh run-backtrace-native-core.sh \
133 run-backtrace-native-core-biarch.sh run-backtrace-core-x86_64.sh \
134 run-backtrace-fp-core-x86_64.sh \
135 run-backtrace-fp-core-aarch64.sh \
136 run-backtrace-fp-core-ppc64le.sh \
[all …]
DChangeLog154 * backtrace-dwarf.c (frame_callback): Explicitly check symname is
159 * backtrace.c (frame_callback): Explicitly check symname is NULL.
163 * backtrace.c (tgkill): Remove define.
172 * backtrace-child.c (stdarg): Remove assert (errno == 0).
174 * backtrace-data.c (maps_lookup): Likewise.
177 * backtrace.c (prepare_thread): Likewise.
182 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
216 * backtrace-data.c (main): Improve error message.
217 * run-backtrace-data.sh: Skip exit 77 return.
221 * backtrace-subr.sh (check_unsupported): Call test_cleanup before
[all …]
Drun-backtrace-native-core.sh18 . $srcdir/backtrace-subr.sh
20 check_native_core backtrace-child
Drun-backtrace-native.sh18 . $srcdir/backtrace-subr.sh
20 check_native backtrace-child
Drun-backtrace-native-biarch.sh23 . $srcdir/backtrace-subr.sh
25 check_native backtrace-child-biarch
Drun-backtrace-native-core-biarch.sh23 . $srcdir/backtrace-subr.sh
25 check_native_core backtrace-child-biarch
Drun-backtrace-dwarf.sh18 . $srcdir/backtrace-subr.sh
27 (set +ex; testrun ${abs_builddir}/backtrace-dwarf 1>dwarf.bt 2>dwarf.err; true)
Drun-backtrace-data.sh18 . $srcdir/backtrace-subr.sh
26 testrun ${abs_builddir}/backtrace-data 1>data.bt 2>data.err;
/external/e2fsprogs/debian/scripts/
Dtest-backtrace8 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$$*
/external/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.cpp132 auto const &backtrace = getCallerBacktrace(); in EmitLocation() local
133 syncScope(backtrace); in EmitLocation()
134 builder->SetCurrentDebugLocation(getLocation(backtrace, backtrace.size() - 1)); in EmitLocation()
137 emitPrintLocation(backtrace); in EmitLocation()
146 void DebugInfo::syncScope(Backtrace const &backtrace) in syncScope() argument
161 if(backtrace.size() < diScope.size()) in syncScope()
163 shrink(backtrace.size()); in syncScope()
170 auto const &newLocation = backtrace[i]; in syncScope()
196 while(backtrace.size() > diScope.size()) in syncScope()
199 auto location = backtrace[i]; in syncScope()
[all …]
DReactorDebugInfo.cpp103 void emitPrintLocation(const Backtrace &backtrace) in emitPrintLocation() argument
106 if(backtrace.size() == 0) in emitPrintLocation()
110 Location currLocation = backtrace[backtrace.size() - 1]; in emitPrintLocation()
/external/libunwind/doc/
Dunw_backtrace.tex8 …rger-Tang}{Programming Library}{unw\_backtrace}unw\_backtrace -- return backtrace for the calling …
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
/external/libunwind_llvm/test/
Dlibunwind_01.pass.cpp4 void backtrace(int lower_bound) { in backtrace() function
25 backtrace(i); in test1()
29 backtrace(i); in test2()
34 backtrace(i); in test3()
/external/honggfuzz/
Dfuzz.c245 if (!run->crashFileName[0] || !run->backtrace) { in fuzz_runVerifier()
249 uint64_t backtrace = run->backtrace; in fuzz_runVerifier() local
263 LOG_I("Launching verifier for HASH: %" PRIx64 " (iteration: %d out of %d)", run->backtrace, in fuzz_runVerifier()
266 run->backtrace = 0; in fuzz_runVerifier()
276 if (run->backtrace != backtrace) { in fuzz_runVerifier()
277 LOG_E("Verifier stack mismatch: (original) %" PRIx64 " != (new) %" PRIx64, backtrace, in fuzz_runVerifier()
278 run->backtrace); in fuzz_runVerifier()
279 run->backtrace = backtrace; in fuzz_runVerifier()
283 LOG_I("Verifier for HASH: %" PRIx64 " (iteration: %d, left: %d). MATCH!", run->backtrace, in fuzz_runVerifier()
306 LOG_I("Verified crash for HASH: %" PRIx64 " and saved it as '%s'", backtrace, verFile); in fuzz_runVerifier()
[all …]
/external/arm-trusted-firmware/lib/libc/
Dassert.c25 backtrace("assert"); in __assert()
33 backtrace("assert"); in __assert()
40 backtrace("assert"); in __assert()
/external/autotest/client/tools/
Dcrash_handler.py145 backtrace = commands.getoutput(gdb_cmd)
147 backtrace = backtrace.decode('utf-8', 'ignore')
150 backtrace = ("Could not determine backtrace for core file %s" % path)
163 report += "Program backtrace:\n%s\n" % backtrace
/external/arm-trusted-firmware/include/common/
Ddebug.h93 void backtrace(const char *cookie);
95 #define backtrace(x) macro
102 backtrace(__func__); \
/external/elfutils/
D.gitignore95 /tests/backtrace
96 /tests/backtrace-child
97 /tests/backtrace-child-biarch
98 /tests/backtrace-data
99 /tests/backtrace-dwarf
/external/v8/src/base/debug/
Dstack_trace_fuchsia.cc29 std::string backtrace = ToString(); in Print() local
30 OS::Print("%s\n", backtrace.c_str()); in Print()
/external/arm-trusted-firmware/common/backtrace/
Dbacktrace.mk18 BL_COMMON_SOURCES += common/backtrace/backtrace.c

1234567