| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_unwind_linux_libcdep.cc | 44 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 D | sanitizer_symbolizer_markup.cc | 108 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 D | sanitizer_stacktrace_libcdep.cc | 58 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 D | sanitizer_unwind_win.cc | 28 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 D | sanitizer_stacktrace_sparc.cc | 26 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 D | sanitizer_stacktrace.h | 100 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 D | sanitizer_stacktrace.cc | 72 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 D | sanitizer_unwind_linux_libcdep.cc | 42 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 D | sanitizer_symbolizer_markup.cc | 106 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 D | sanitizer_stacktrace_libcdep.cc | 56 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 D | sanitizer_unwind_win.cc | 26 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 D | sanitizer_stacktrace.h | 98 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 D | sanitizer_stacktrace_sparc.cc | 28 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 D | sanitizer_stacktrace.cc | 69 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 D | sanitizer_unwind_linux_libcdep.cpp | 45 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 D | sanitizer_stacktrace.h | 122 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 D | sanitizer_symbolizer_markup.cpp | 115 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 D | sanitizer_unwind_win.cpp | 27 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 D | sanitizer_stacktrace_libcdep.cpp | 136 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 D | sanitizer_stacktrace_sparc.cpp | 29 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 D | complexity.cc | 99 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 D | complexity.h | 32 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 D | asan_stack.h | 34 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 D | asan_stack.h | 32 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 D | asan_stack.cpp | 57 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()
|