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

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  142     CHECK_EQ(m->chunk_state, CHUNK_QUARANTINE);
  143     atomic_store((atomic_uint8_t*)m, CHUNK_AVAILABLE, memory_order_relaxed);
  144     CHECK_NE(m->alloc_tid, kInvalidTid);
  145     CHECK_NE(m->free_tid, kInvalidTid);
  146     PoisonShadow(m->Beg(),
  147                  RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
  149     void *p = reinterpret_cast<void *>(m->AllocBeg());
  150     if (p != m) {
  156       CHECK_EQ(alloc_magic[1], reinterpret_cast<uptr>(m));
  162     thread_stats.really_freed += m->UsedSize();