class ScopedReentrancyGuard

Defined at line 17 of file ../../src/performance/memory/sampler/instrumentation/scoped_reentrancy_guard.h

Scoped guard to detect reentrancy. It is meant to detect and

prevent unbounded recursion when allocating memory from within the

memory allocation hooks.

Note: at the time of writing this comment, Scudo disallows

allocating memory from within the memory allocation hooks.

Public Methods

void ScopedReentrancyGuard ()

Defined at line 19 of file ../../src/performance/memory/sampler/instrumentation/scoped_reentrancy_guard.h

void ~ScopedReentrancyGuard ()

Defined at line 23 of file ../../src/performance/memory/sampler/instrumentation/scoped_reentrancy_guard.h

void ScopedReentrancyGuard (const ScopedReentrancyGuard & )

Defined at line 25 of file ../../src/performance/memory/sampler/instrumentation/scoped_reentrancy_guard.h

ScopedReentrancyGuard & operator= (const ScopedReentrancyGuard & )

Defined at line 26 of file ../../src/performance/memory/sampler/instrumentation/scoped_reentrancy_guard.h

bool WouldReenter ()

Defined at line 28 of file ../../src/performance/memory/sampler/instrumentation/scoped_reentrancy_guard.h