Go to the documentation of this file.
19 #include "absl/base/attributes.h"
20 #include "absl/debugging/leak_check.h"
22 #ifndef LEAK_SANITIZER
38 #include <sanitizer/lsan_interface.h>
40 #if ABSL_HAVE_ATTRIBUTE_WEAK
48 #if ABSL_HAVE_ATTRIBUTE_WEAK
59 __lsan_register_root_region(
ptr,
size);
62 __lsan_unregister_root_region(
ptr,
size);
69 #endif // 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