reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/asan/asan_debugging.cpp
   66     size = Min(size, Min(stack.size, kStackTraceMax));
projects/compiler-rt/lib/asan/asan_errors.cpp
   92   CHECK_GT(free_stack->size, 0);
  111   CHECK_GT(free_stack->size, 0);
  131   CHECK_GT(dealloc_stack->size, 0);
projects/compiler-rt/lib/asan/asan_errors.h
   75     CHECK_GT(second_free_stack->size, 0);
projects/compiler-rt/lib/asan/asan_stack.cpp
   59   size = 0;
projects/compiler-rt/lib/asan/asan_suppressions.cpp
   73   for (uptr i = 0; i < stack->size && stack->trace[i]; i++) {
projects/compiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
   43   memcpy(TraceBuffer, Trace.trace, Trace.size * sizeof(uintptr_t));
   44   return Trace.size;
   51   StackTrace.size = TraceLength;
   53   if (StackTrace.size == 0) {
projects/compiler-rt/lib/hwasan/hwasan.cpp
  205     size = 0;
projects/compiler-rt/lib/hwasan/hwasan_linux.cpp
  436   if (registers_frame && stack->trace && stack->size > 0) {
  438     stack->size--;
projects/compiler-rt/lib/hwasan/hwasan_malloc_bisect.h
   19   uptr len = Min(stack->size, (unsigned)7);
projects/compiler-rt/lib/hwasan/hwasan_report.cpp
  421   uptr pc = stack->size ? stack->trace[0] : 0;
  508   uptr pc = stack->size ? stack->trace[0] : 0;
projects/compiler-rt/lib/lsan/lsan_common.cpp
  382   if (stack.size >= 2)
  499       stack.size = Min(stack.size, resolution);
  499       stack.size = Min(stack.size, resolution);
  649   for (uptr i = 0; i < stack.size; i++) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
   41     if ((hash & kHashMask) != hash_bits || args.size != size || args.tag != tag)
   50     return sizeof(StackDepotNode) + (args.size - 1) * sizeof(uptr);
   53     MurMur2HashBuilder H(args.size * sizeof(uptr));
   54     for (uptr i = 0; i < args.size; i++) H.add(args.trace[i]);
   58     return args.size > 0 && args.trace;
   62     size = args.size;
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cpp
   34   size = cnt + !!extra_top_pc;
   35   CHECK_LE(size, kStackTraceMax);
   76   size = 1;
   85          size < max_depth) {
  106       trace_buffer[size++] = (uptr) pc1;
  116   CHECK_LT(count, size);
  117   size -= count;
  118   for (uptr i = 0; i < size; ++i) {
  127   for (uptr i = 1; i < size; ++i) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
  112       size = max_depth;
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp
   22   if (trace == nullptr || size == 0) {
   30   for (uptr i = 0; i < size && trace[i]; i++) {
   65     size = 0;
   69     size = 1;
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
   77   if (stack->size == 0) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
   80   CHECK_LT(arg->stack->size, arg->max_depth);
   87   arg->stack->trace_buffer[arg->stack->size++] = pc;
   88   if (arg->stack->size == arg->max_depth) return UNWIND_STOP;
  128   size = 0;
  139   if (to_pop == 0 && size > 1)
  170   size = 0;
  174     trace_buffer[size++] = frames[i].absolute_pc + 2;
projects/compiler-rt/lib/tsan/dd/dd_rtl.cpp
   26   if (stack.size <= skip)
   28   return StackDepotPut(StackTrace(stack.trace + skip, stack.size - skip));
projects/compiler-rt/lib/tsan/rtl/tsan_debugging.cpp
  259   size = Min(size, (uptr)stack.size);
  260   for (uptr i = 0; i < size; i++) trace[i] = stack.trace[stack.size - i - 1];
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h
  637   if (stack->size < 2) return;
  638   uptr possible_tag_pc = stack->trace[stack->size - 2];
  641   stack->trace_buffer[stack->size - 2] = stack->trace_buffer[stack->size - 1];
  641   stack->trace_buffer[stack->size - 2] = stack->trace_buffer[stack->size - 1];
  642   stack->size -= 1;
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
  117   if (trace.size == 0)
  120   for (uptr si = 0; si < trace.size; si++) {
  397   stack.Resize(hdr->stack0.size + 64);
  398   for (uptr i = 0; i < hdr->stack0.size; i++) {
  404   uptr pos = hdr->stack0.size;
  451       hash.hash[0] = md5_hash(traces[0].trace, traces[0].size * sizeof(uptr));
  452       hash.hash[1] = md5_hash(traces[1].trace, traces[1].size * sizeof(uptr));
  493     hash.hash[0] = md5_hash(traces[0].trace, traces[0].size * sizeof(uptr));
  494     hash.hash[1] = md5_hash(traces[1].trace, traces[1].size * sizeof(uptr));
  549     for (uptr j = 0; j < trace.size; j++) {
  739   for (uptr i = 0; i < ptrace->size / 2; i++) {
  741     ptrace->trace_buffer[i] = ptrace->trace_buffer[ptrace->size - i - 1];
  742     ptrace->trace_buffer[ptrace->size - i - 1] = tmp;
projects/compiler-rt/lib/tsan/rtl/tsan_stack_trace.cpp
   35   size = new_size;
   46   for (u32 i = 0; i < (size >> 1); i++)
   47     Swap(trace_buffer[i], trace_buffer[size - 1 - i]);