diff options
Diffstat (limited to 'absl/debugging/leak_check.h')
-rw-r--r-- | absl/debugging/leak_check.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/absl/debugging/leak_check.h b/absl/debugging/leak_check.h index 61c3216f..5fc2b052 100644 --- a/absl/debugging/leak_check.h +++ b/absl/debugging/leak_check.h @@ -43,6 +43,12 @@ ABSL_NAMESPACE_BEGIN // currently built into this target. bool HaveLeakSanitizer(); +// LeakCheckerIsActive() +// +// Returns true if a leak-checking sanitizer (either ASan or standalone LSan) is +// currently built into this target and is turned on. +bool LeakCheckerIsActive(); + // DoIgnoreLeak() // // Implements `IgnoreLeak()` below. This function should usually |