Home
last modified time | relevance | path

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

123456789

/third_party/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,
/third_party/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$$*
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.cpp139 auto const &backtrace = getCallerBacktrace(); in EmitLocation() local
140 syncScope(backtrace); in EmitLocation()
141 builder->SetCurrentDebugLocation(getLocation(backtrace, backtrace.size() - 1)); in EmitLocation()
142 emitPrintLocation(backtrace); in EmitLocation()
153 void DebugInfo::syncScope(Backtrace const &backtrace) in syncScope() argument
170 if(backtrace.size() < diScope.size()) in syncScope()
172 shrink(backtrace.size()); in syncScope()
179 auto const &newLocation = backtrace[i]; in syncScope()
205 while(backtrace.size() > diScope.size()) in syncScope()
208 auto location = backtrace[i]; in syncScope()
[all …]
DReactorDebugInfo.cpp122 void emitPrintLocation(const Backtrace &backtrace) in emitPrintLocation() argument
126 if(backtrace.size() == 0) in emitPrintLocation()
130 Location currLocation = backtrace[backtrace.size() - 1]; in emitPrintLocation()
DLLVMReactorDebugInfo.hpp147 llvm::DILocation *getLocation(const Backtrace &backtrace, size_t i);
154 void syncScope(Backtrace const &backtrace);
/third_party/boost/tools/build/src/kernel/
Derrors.jam7 # Print a stack backtrace leading to this rule's caller. Each argument
9 # backtrace.
11 rule backtrace ( skip-frames prefix messages * : * )
17 ECHO "warning: backtrace doesn't support skipping $(skip-frames) "
40 # Get the whole backtrace, then drop the initial quadruples
123 backtrace $(skip-frames) "error:" $(messages) : $(2) : $(3) : $(4) : $(5)
139 if --no-error-backtrace in [ modules.peek : ARGV ]
141 .no-error-backtrace = true ;
145 # Print an error message with a stack backtrace and exit.
149 if $(.no-error-backtrace)
[all …]
/third_party/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
/third_party/boost/boost/stacktrace/detail/
Dcollect_unwind.ipp18 // Forcing libc backtrace() function usage.
74 …// According to https://opensource.apple.com/source/Libc/Libc-1272.200.26/gen/backtrace.c.auto.html
75 // it looks like the `::backtrace` is async signal safe.
76 …frames_count = static_cast<size_t>(::backtrace(const_cast<void **>(out_frames), static_cast<int>(m…
78 …// NOTE: There is no way to pass "skip" count to backtrace function so we need to perform left shi…
79 …// If number of elements in result backtrace is >= max_frames_count then "skip" elements are waste…
/third_party/skia/third_party/externals/abseil-cpp/patches/
D0003-delete-static-initializer-in-stacktrace.patch7 // As such, we suppress usage of backtrace during this early stage of execution.
13 - // Force the first backtrace to happen early to get the one-time shared lib
15 - // to use backtrace from a signal handler if we crash somewhere later.
16 - backtrace(unused_stack, 1);
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnNativeTest.cpp25 const auto& backtrace = error->GetBacktrace(); in AddFatalDawnFailure() local
27 backtrace.at(0).file, backtrace.at(0).line, in AddFatalDawnFailure()
/third_party/skia/third_party/externals/swiftshader/third_party/libbacktrace/
DCMakeLists.txt17 src/backtrace.c
18 src/backtrace.h
30 src/backtrace-supported.h
/third_party/abseil-cpp/absl/debugging/internal/
Dstacktrace_generic-inl.inc44 // As such, we suppress usage of backtrace during this early stage of execution.
50 // Force the first backtrace to happen early to get the one-time shared lib
52 // to use backtrace from a signal handler if we crash somewhere later.
53 backtrace(unused_stack, 1);
71 size = backtrace(stack, kStackLength);
/third_party/boost/libs/stacktrace/build/
DJamfile.v221 lib backtrace
42 mp-run-simple has_backtrace.cpp : : : <library>backtrace : libbacktrace ;
71 ../src/backtrace.cpp
75 <library>backtrace
/third_party/boost/libs/context/example/callcc/
Dbacktrace.cpp18 void backtrace() { in backtrace() function
41 backtrace(); in bar()
DJamfile.v273 #exe backtrace
74 # : backtrace.cpp
/third_party/boost/libs/context/example/fiber/
Dbacktrace.cpp18 void backtrace() { in backtrace() function
41 backtrace(); in bar()
DJamfile.v277 #exe backtrace
78 # : backtrace.cpp
/third_party/boost/libs/outcome/doc/src/content/tutorial/advanced/hooks/
Dpoke_exception.md13 stored backtrace and using it to synthesise an exception ptr with a message text
14 including the backtrace. Firstly let us look at the function which synthesises
21 stack backtrace into a string and make an exception ptr with a runtime error with
Dkeeping_state.md5 tags = ["backtrace"]
8 The first thing we are going to need is somewhere to store the stack backtrace.
/third_party/lz4/contrib/meson/
Dmeson_options.txt14 option('backtrace', type: 'boolean', value: false, boolean
15 description: 'Display a stack backtrace when execution generates a runtime exception')
/third_party/node/deps/npm/node_modules/fs.realpath/
Dold.js35 var backtrace = new Error;
44 backtrace.message = err.message;
45 err = backtrace;
/third_party/boost/tools/build/src/build/
Derrors.py43 raw = bjam.backtrace()
131 bt = bjam.backtrace()

123456789