diff options
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h index dceb64bbd3f..2c8e2a2bbd3 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h @@ -190,6 +190,8 @@ class CombinedAllocator { primary_.ForceUnlock(); } + void ReleaseToOS() { primary_.ReleaseToOS(); } + // Iterate over all existing chunks. // The allocator must be locked when calling this function. void ForEachChunk(ForEachChunkCallback callback, void *arg) { |

