diff options
author | Fabio D'Urso <fdurso@google.com> | 2023-05-16 20:07:24 +0000 |
---|---|---|
committer | Caslyn Tonelli <caslyn@google.com> | 2023-05-16 20:09:08 +0000 |
commit | 0f1a92ba308a20dd4c790843191e3b642e90a9f3 (patch) | |
tree | 71a1a65c803befb9acacb9b97357636bcf766b0e /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | ec388adbbcbf2cf7f2743464ef5b3c5c540a2d23 (diff) | |
download | llvm-0f1a92ba308a20dd4c790843191e3b642e90a9f3.zip llvm-0f1a92ba308a20dd4c790843191e3b642e90a9f3.tar.gz llvm-0f1a92ba308a20dd4c790843191e3b642e90a9f3.tar.bz2 |
[scudo] Deallocate the AllocatorRingBuffer too in unmapTestOnly
The AllocatorRingBuffer is allocated dynamically when Allocator is
initialized. This patch adds a corresponding deinitialization call in
unmapTestOnly, to avoid running out of virtual memory if the tests are run
a large number of times on memory-constrained platforms.
Reviewed By: Chia-hungDuan
Differential Revision: https://reviews.llvm.org/D149266
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions