Searched refs:kStackTraceMax (Results 1 – 14 of 14) sorted by relevance
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_stack_test.cc | 52 const uptr kShadowStackSize = 2 * kStackTraceMax; in TestTrim() 62 EXPECT_EQ(kStackTraceMax, trace->size); in TestTrim() 63 for (uptr i = 0; i < kStackTraceMax; i++) { in TestTrim() 64 EXPECT_EQ(100 + kStackTraceMax + i, trace->trace[i]); in TestTrim() 68 EXPECT_EQ(kStackTraceMax, trace->size); in TestTrim() 69 for (uptr i = 0; i < kStackTraceMax - 1; i++) { in TestTrim() 70 EXPECT_EQ(101 + kStackTraceMax + i, trace->trace[i]); in TestTrim() 72 EXPECT_EQ(42U, trace->trace[kStackTraceMax - 1]); in TestTrim()
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 87 GetStackTraceWithPcBpAndContext(&stack, kStackTraceMax, pc, bp, 0, \ 92 GetStackTraceWithPcBpAndContext(&stack, kStackTraceMax, \ 97 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal) 100 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check) 103 GET_STACK_TRACE(kStackTraceMax, true)
|
D | asan_flags.cc | 140 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
|
D | asan_debugging.cc | 101 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stacktrace_test.cc | 75 if (!TryFastUnwind(kStackTraceMax)) in TEST_F() 89 if (!TryFastUnwind(kStackTraceMax)) in TEST_F() 102 if (!TryFastUnwind(kStackTraceMax)) in TEST_F() 142 if (!TryFastUnwind(kStackTraceMax)) in TEST_F()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_unwind_linux_libcdep.cc | 124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack() 150 InternalScopedBuffer<backtrace_frame_t> frames(kStackTraceMax); in SlowUnwindStackWithContext() 157 CHECK_LE((uptr)res, kStackTraceMax); in SlowUnwindStackWithContext()
|
D | sanitizer_stacktrace.h | 20 static const u32 kStackTraceMax = 256; variable 91 uptr trace_buffer[kStackTraceMax];
|
D | sanitizer_stacktrace.cc | 36 CHECK_LE(size, kStackTraceMax); in Init()
|
D | sanitizer_win.cc | 721 size = CaptureStackBackTrace(2, Min(max_depth, kStackTraceMax), in SlowUnwindStack() 754 size < Min(max_depth, kStackTraceMax)) { in SlowUnwindStackWithContext()
|
/external/compiler-rt/lib/lsan/ |
D | lsan.h | 35 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 594 if (size + !!toppc > kStackTraceMax) { in ObtainCurrentStack() 595 start = size + !!toppc - kStackTraceMax; in ObtainCurrentStack() 596 size = kStackTraceMax - !!toppc; in ObtainCurrentStack()
|
D | tsan_rtl_report.cc | 696 ptrace->Unwind(kStackTraceMax, pc, 0, 0, 0, 0, false); in PrintCurrentStackSlow()
|
/external/compiler-rt/lib/msan/ |
D | msan.h | 289 GetStackTrace(&stack, kStackTraceMax, pc, bp, \
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_diag.cc | 42 stack.Unwind(kStackTraceMax, pc, bp, 0, 0, 0, false); in MaybePrintStackTrace()
|