Home
last modified time | relevance | path

Searched refs:max_depth (Results 1 – 25 of 83) sorted by relevance

1234

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_unwind_linux_libcdep.cc44 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
106 u32 max_depth; member
111 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
119 if (arg->stack->size == arg->max_depth) return UNWIND_STOP; in Unwind_Trace()
123 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
124 CHECK_GE(max_depth, 2); in SlowUnwindStack()
126 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack()
143 u32 max_depth) { in SlowUnwindStackWithContext() argument
144 CHECK_GE(max_depth, 2); in SlowUnwindStackWithContext()
146 SlowUnwindStack(pc, max_depth); in SlowUnwindStackWithContext()
[all …]
H A Dsanitizer_symbolizer_markup.cc108 u32 max_depth; member
113 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
117 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP in Unwind_Trace()
121 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
122 CHECK_GE(max_depth, 2); in SlowUnwindStack()
124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack()
137 u32 max_depth) { in SlowUnwindStackWithContext() argument
H A Dsanitizer_stacktrace_libcdep.cc58 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
61 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
63 if (max_depth == 0) { in Unwind()
67 if (max_depth == 1) { in Unwind()
75 SlowUnwindStackWithContext(pc, context, max_depth); in Unwind()
77 SlowUnwindStack(pc, max_depth); in Unwind()
82 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
H A Dsanitizer_unwind_win.cc28 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
29 CHECK_GE(max_depth, 2); in SlowUnwindStack()
33 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in SlowUnwindStack()
44 u32 max_depth) { in SlowUnwindStackWithContext() argument
69 size < Min(max_depth, kStackTraceMax)) { in SlowUnwindStackWithContext()
H A Dsanitizer_stacktrace_sparc.cc26 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
28 CHECK_GE(max_depth, 2); in FastUnwindStack()
41 size < max_depth) { in FastUnwindStack()
H A Dsanitizer_stacktrace.h100 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
110 u32 max_depth);
111 void SlowUnwindStack(uptr pc, u32 max_depth);
113 u32 max_depth);
H A Dsanitizer_stacktrace.cc72 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
74 CHECK_GE(max_depth, 2); in FastUnwindStack()
85 size < max_depth) { in FastUnwindStack()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_unwind_linux_libcdep.cc42 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
104 u32 max_depth; member
109 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
117 if (arg->stack->size == arg->max_depth) return UNWIND_STOP; in Unwind_Trace()
121 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
122 CHECK_GE(max_depth, 2); in SlowUnwindStack()
124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack()
147 u32 max_depth) { in SlowUnwindStackWithContext() argument
148 CHECK_GE(max_depth, 2); in SlowUnwindStackWithContext()
150 SlowUnwindStack(pc, max_depth); in SlowUnwindStackWithContext()
[all …]
H A Dsanitizer_symbolizer_markup.cc106 u32 max_depth; member
111 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
115 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP in Unwind_Trace()
119 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
120 CHECK_GE(max_depth, 2); in SlowUnwindStack()
122 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack()
135 u32 max_depth) { in SlowUnwindStackWithContext() argument
H A Dsanitizer_stacktrace_libcdep.cc56 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
59 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
61 if (max_depth == 0) { in Unwind()
65 if (max_depth == 1) { in Unwind()
73 SlowUnwindStackWithContext(pc, context, max_depth); in Unwind()
75 SlowUnwindStack(pc, max_depth); in Unwind()
80 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
H A Dsanitizer_unwind_win.cc26 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
27 CHECK_GE(max_depth, 2); in SlowUnwindStack()
31 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in SlowUnwindStack()
42 u32 max_depth) { in SlowUnwindStackWithContext() argument
67 size < Min(max_depth, kStackTraceMax)) { in SlowUnwindStackWithContext()
H A Dsanitizer_stacktrace.h98 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
108 u32 max_depth);
109 void SlowUnwindStack(uptr pc, u32 max_depth);
111 u32 max_depth);
H A Dsanitizer_stacktrace_sparc.cc28 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
30 CHECK_GE(max_depth, 2); in FastUnwindStack()
67 size < max_depth) { in FastUnwindStack()
H A Dsanitizer_stacktrace.cc69 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
71 CHECK_GE(max_depth, 2); in FastUnwindStack()
82 size < max_depth) { in FastUnwindStack()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_unwind_linux_libcdep.cpp45 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
75 u32 max_depth; member
80 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
88 if (arg->stack->size == arg->max_depth) return UNWIND_STOP; in Unwind_Trace()
126 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
127 CHECK_GE(max_depth, 2); in UnwindSlow()
129 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
151 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
153 CHECK_GE(max_depth, 2); in UnwindSlow()
155 UnwindSlow(pc, max_depth); in UnwindSlow()
[all …]
H A Dsanitizer_stacktrace.h122 u32 max_depth = kStackTraceMax) {
123 top_frame_bp = (max_depth > 0) ? bp : 0;
125 if (max_depth <= 1) {
126 if (max_depth == 1)
128 size = max_depth;
131 UnwindImpl(pc, bp, context, request_fast, max_depth);
134 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
145 u32 max_depth);
149 u32 max_depth);
150 void UnwindSlow(uptr pc, u32 max_depth);
[all …]
H A Dsanitizer_symbolizer_markup.cpp115 u32 max_depth; member
120 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
124 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP in Unwind_Trace()
128 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
129 CHECK_GE(max_depth, 2); in UnwindSlow()
131 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
143 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
145 CHECK_GE(max_depth, 2); in UnwindSlow()
H A Dsanitizer_unwind_win.cpp27 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
28 CHECK_GE(max_depth, 2); in UnwindSlow()
32 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in UnwindSlow()
50 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
52 CHECK_GE(max_depth, 2); in UnwindSlow()
77 size < Min(max_depth, kStackTraceMax)) { in UnwindSlow()
H A Dsanitizer_stacktrace_libcdep.cpp136 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
141 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
143 if (max_depth == 0) { in Unwind()
147 if (max_depth == 1) { in Unwind()
155 UnwindSlow(pc, context, max_depth); in Unwind()
157 UnwindSlow(pc, max_depth); in Unwind()
160 if (size > 2 || size >= max_depth) in Unwind()
166 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
H A Dsanitizer_stacktrace_sparc.cpp29 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
31 CHECK_GE(max_depth, 2); in UnwindFast()
66 size < max_depth) { in UnwindFast()
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dcomplexity.cc99 unsigned max_depth = 0; in from_vec_svalue() local
104 max_depth = MAX (max_depth, iter_c.m_max_depth); in from_vec_svalue()
106 return complexity (num_nodes + 1, max_depth + 1); in from_vec_svalue()
H A Dcomplexity.h32 complexity (unsigned num_nodes, unsigned max_depth) in complexity()
33 : m_num_nodes (num_nodes), m_max_depth (max_depth) in complexity()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_stack.h34 void GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, uptr bp, in GetStackTrace() argument
37 stack->Unwind(max_depth, pc, bp, context, 0, 0, fast); in GetStackTrace()
47 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTrace()
52 stack->Unwind(max_depth, pc, bp, context, 0, 0, false); in GetStackTrace()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_stack.h32 void GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, uptr bp, in GetStackTrace() argument
35 stack->Unwind(max_depth, pc, bp, context, 0, 0, fast); in GetStackTrace()
49 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTrace()
54 stack->Unwind(max_depth, pc, bp, context, 0, 0, false); in GetStackTrace()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_stack.cpp57 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
77 Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()

1234