Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/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.h121 u32 max_depth = kStackTraceMax) {
122 top_frame_bp = (max_depth > 0) ? bp : 0;
124 if (max_depth <= 1) {
125 if (max_depth == 1)
127 size = max_depth;
130 UnwindImpl(pc, bp, context, request_fast, max_depth);
133 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
144 u32 max_depth);
148 u32 max_depth);
149 void UnwindSlow(uptr pc, u32 max_depth);
[all …]
H A Dsanitizer_symbolizer_markup.cpp113 u32 max_depth; member
118 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
122 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_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()
141 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
143 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()
84 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()
H A Dsanitizer_stacktrace.cpp98 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
100 CHECK_GE(max_depth, 2); in UnwindFast()
112 size < max_depth) { in UnwindFast()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_stack.cpp34 u32 max_depth) { in UnwindImpl() argument
43 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
48 Unwind(max_depth, pc, bp, context, 0, 0, false); in UnwindImpl()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionGroupValueObjectDisplay.cpp103 if (option_arg.getAsInteger(0, max_depth)) { in SetOptionValue()
104 max_depth = UINT32_MAX; in SetOptionValue()
167 max_depth = UINT32_MAX; in OptionParsingStarting()
181 max_depth = std::get<uint32_t>(max_depth_config); in OptionParsingStarting()
199 options.SetMaximumDepth(max_depth, max_depth_is_default) in GetAsDumpOptions()
/llvm-project-15.0.7/compiler-rt/lib/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()
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/optional/
H A Dbacktrace_sanitizer_common.cpp24 u32 max_depth) { in UnwindImpl() argument
26 return Unwind(max_depth, pc, 0, context, 0, 0, false); in UnwindImpl()
32 return Unwind(max_depth, pc, bp, context, top, bottom, request_fast); in UnwindImpl()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_diag_standalone.cpp20 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
25 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
H A Dubsan_signals_standalone.cpp41 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
H A Dubsan_diag.cpp35 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, in ubsan_GetStackTrace() argument
41 stack->Unwind(max_depth, pc, bp, context, top, bottom, fast); in ubsan_GetStackTrace()
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DOptionGroupValueObjectDisplay.h34 flat_output || use_objc || max_depth != UINT32_MAX || in AnyOptionWasSet()
50 uint32_t max_depth; variable
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_stack_trace.cpp50 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
55 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_stack_trace.cpp50 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
55 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan.cpp36 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
46 Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in UnwindImpl()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan.cpp309 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
315 return Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
319 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true); in UnwindImpl()
321 Unwind(max_depth, pc, 0, context, 0, 0, false); in UnwindImpl()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan.cpp251 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
258 Unwind(max_depth, pc, bp, context, t->stack_top(), t->stack_bottom(), in UnwindImpl()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan.cpp879 u32 max_depth) { in UnwindImpl() argument
883 return Unwind(max_depth, pc, bp, context, 0, 0, false); in UnwindImpl()
885 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true); in UnwindImpl()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-internal-inl.h430 virtual std::string CurrentStackTrace(int max_depth, int skip_count) = 0;
450 std::string CurrentStackTrace(int max_depth, int skip_count) override;
H A Dgtest.cc4430 std::string OsStackTraceGetter::CurrentStackTrace(int max_depth, int skip_count) in CurrentStackTrace() argument
4435 if (max_depth <= 0) { in CurrentStackTrace()
4439 max_depth = std::min(max_depth, kMaxStackTraceDepth); in CurrentStackTrace()
4441 std::vector<void*> raw_stack(max_depth); in CurrentStackTrace()
4444 absl::GetStackTrace(&raw_stack[0], max_depth, skip_count + 1); in CurrentStackTrace()
4474 static_cast<void>(max_depth); in CurrentStackTrace()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stacktrace_test.cpp301 bool request_fast, u32 max_depth) { in UnwindImpl() argument