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

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  567     CHECK_EQ(m->chunk_state, CHUNK_QUARANTINE);
  568     CHECK_GE(m->alloc_tid, 0);
  570       CHECK_EQ(m->free_tid, kInvalidTid);
  572     m->free_tid = t ? t->tid() : 0;
  573     m->free_context_id = StackDepotPut(*stack);
  578       uptr scribble_start = (uptr)m + kChunkHeaderSize + kChunkHeader2Size;
  579       if (m->UsedSize() >= kChunkHeader2Size) {  // Skip Header2 in user area.
  580         uptr size_to_fill = m->UsedSize() - kChunkHeader2Size;
  587     PoisonShadow(m->Beg(),
  588                  RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
  593     thread_stats.freed += m->UsedSize();
  599       quarantine.Put(GetQuarantineCache(ms), QuarantineCallback(ac, stack), m,
  600                      m->UsedSize());
  605                      m, m->UsedSize());
  605                      m, m->UsedSize());