absl::HaveLeakSanitizer

Returns true if a leak-checking sanitizer (either ASan or standalone LSan) is currently built into this target.

Synopsis

Declared in <absl/debugging/leak_check.h>

bool
HaveLeakSanitizer();

Return Value

True if a leak-checking sanitizer is built into this target.