diff options
author | Aaron Jacobs <jacobsa@google.com> | 2023-11-08 18:16:45 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-11-08 18:17:21 -0800 |
commit | 483a2d59e649179ea9d9bc4d808f6c9d16646f9d (patch) | |
tree | 062c1af6bdd2a23a8a11d613f3588915faa3d113 /absl/container/internal/container_memory.h | |
parent | c79e6b3db81a167de904d979ab820809e42c1f75 (diff) | |
download | abseil-483a2d59e649179ea9d9bc4d808f6c9d16646f9d.tar.gz abseil-483a2d59e649179ea9d9bc4d808f6c9d16646f9d.tar.bz2 abseil-483a2d59e649179ea9d9bc4d808f6c9d16646f9d.zip |
Roll back due to leak sanitizer reports.
PiperOrigin-RevId: 580726428
Change-Id: I12b0f22c2084aef90bcca67536220a6bb550b57e
Diffstat (limited to 'absl/container/internal/container_memory.h')
-rw-r--r-- | absl/container/internal/container_memory.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/absl/container/internal/container_memory.h b/absl/container/internal/container_memory.h index a735ca34..f59ca4ee 100644 --- a/absl/container/internal/container_memory.h +++ b/absl/container/internal/container_memory.h @@ -249,14 +249,6 @@ inline void SanitizerUnpoisonObject(const T* object) { SanitizerUnpoisonMemoryRegion(object, sizeof(T)); } -template <typename Container, typename Alloc, typename F> -void RunWithReentrancyGuard(Container& c, Alloc& a, F f) { - SanitizerPoisonObject(&c); - if (!std::is_empty<Alloc>()) SanitizerUnpoisonObject(&a); - f(); - SanitizerUnpoisonObject(&c); -} - namespace memory_internal { // If Pair is a standard-layout type, OffsetOf<Pair>::kFirst and |