| /llvm-project-15.0.7/compiler-rt/lib/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 | 121 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 D | sanitizer_symbolizer_markup.cpp | 113 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 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() 84 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()
|
| H A D | sanitizer_stacktrace.cpp | 98 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 D | memprof_stack.cpp | 34 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 D | OptionGroupValueObjectDisplay.cpp | 103 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 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()
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/optional/ |
| H A D | backtrace_sanitizer_common.cpp | 24 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 D | ubsan_diag_standalone.cpp | 20 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 D | ubsan_signals_standalone.cpp | 41 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
|
| H A D | ubsan_diag.cpp | 35 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 D | OptionGroupValueObjectDisplay.h | 34 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 D | tsan_stack_trace.cpp | 50 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 D | tsan_stack_trace.cpp | 50 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 D | lsan.cpp | 36 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 D | msan.cpp | 309 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 D | hwasan.cpp | 251 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 D | dfsan.cpp | 879 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 D | gtest-internal-inl.h | 430 virtual std::string CurrentStackTrace(int max_depth, int skip_count) = 0; 450 std::string CurrentStackTrace(int max_depth, int skip_count) override;
|
| H A D | gtest.cc | 4430 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 D | sanitizer_stacktrace_test.cpp | 301 bool request_fast, u32 max_depth) { in UnwindImpl() argument
|