Go to the documentation of this file.
21 #include "absl/debugging/leak_check.h"
23 #include "absl/base/attributes.h"
24 #include "absl/base/config.h"
26 #if defined(ABSL_HAVE_LEAK_SANITIZER)
28 #include <sanitizer/lsan_interface.h>
30 #if ABSL_HAVE_ATTRIBUTE_WEAK
38 #if ABSL_HAVE_ATTRIBUTE_WEAK
49 __lsan_register_root_region(
ptr,
size);
52 __lsan_unregister_root_region(
ptr,
size);
59 #else // defined(ABSL_HAVE_LEAK_SANITIZER)
73 #endif // defined(ABSL_HAVE_LEAK_SANITIZER)
void UnRegisterLivePointers(const void *, size_t)
void DoIgnoreLeak(const void *)
int __lsan_is_turned_off()
void RegisterLivePointers(const void *, size_t)
bool FindAndReportLeaks()
#define ABSL_NAMESPACE_END
#define ABSL_NAMESPACE_BEGIN
ABSL_NAMESPACE_BEGIN bool HaveLeakSanitizer()
bool absl_internal_cordz_disabled ABSL_ATTRIBUTE_WEAK
bool LeakCheckerIsActive()
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:15