Lines Matching defs:guard
50 // Collects trace-pc guard coverage.
55 // data called the "guard". At startup, we assign each guard slot a
58 // that index in the array. (Each later call with the same guard slot is
59 // presumed to be from the same PC.) Then it clears the guard slot back
65 // contiguous array of guard slots, and a constructor that calls here
82 void TracePcGuard(u32 *guard, uptr pc) {
83 atomic_uint32_t *guard_ptr = reinterpret_cast<atomic_uint32_t *>(guard);
206 SANITIZER_INTERFACE_WEAK_DEF(void, __sanitizer_cov_trace_pc_guard, u32 *guard) {
207 if (!*guard) return;
208 __sancov::pc_guard_controller.TracePcGuard(guard, GET_CALLER_PC() - 1);