Home
last modified time | relevance | path

Searched refs:kStackTraceMax (Results 1 – 14 of 14) sorted by relevance

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_stack_test.cc52 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/
Dasan_stack.h87 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)
Dasan_flags.cc140 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
Dasan_debugging.cc101 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc75 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/
Dsanitizer_unwind_linux_libcdep.cc124 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()
Dsanitizer_stacktrace.h20 static const u32 kStackTraceMax = 256; variable
91 uptr trace_buffer[kStackTraceMax];
Dsanitizer_stacktrace.cc36 CHECK_LE(size, kStackTraceMax); in Init()
Dsanitizer_win.cc721 size = CaptureStackBackTrace(2, Min(max_depth, kStackTraceMax), in SlowUnwindStack()
754 size < Min(max_depth, kStackTraceMax)) { in SlowUnwindStackWithContext()
/external/compiler-rt/lib/lsan/
Dlsan.h35 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h594 if (size + !!toppc > kStackTraceMax) { in ObtainCurrentStack()
595 start = size + !!toppc - kStackTraceMax; in ObtainCurrentStack()
596 size = kStackTraceMax - !!toppc; in ObtainCurrentStack()
Dtsan_rtl_report.cc696 ptrace->Unwind(kStackTraceMax, pc, 0, 0, 0, 0, false); in PrintCurrentStackSlow()
/external/compiler-rt/lib/msan/
Dmsan.h289 GetStackTrace(&stack, kStackTraceMax, pc, bp, \
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc42 stack.Unwind(kStackTraceMax, pc, bp, 0, 0, 0, false); in MaybePrintStackTrace()