[scudo] Test ScudoReleaseTest.BufferPool with a buffer pool allocated on the heap
authorFabio D'Urso <fdurso@google.com>
Thu, 16 Mar 2023 18:07:32 +0000 (18:07 +0000)
committerChia-hung Duan <chiahungduan@google.com>
Thu, 16 Mar 2023 18:13:43 +0000 (18:13 +0000)
commit248ee65ac647ac53a415aea1cf314e82f5a30075
tree0ac82745275abc1a11d61186f95582ab3a15e90c
parent1da04b04cd59105be098dc6810774549e1e61b78
[scudo] Test ScudoReleaseTest.BufferPool with a buffer pool allocated on the heap

The previous code resulted in 252 KiB being allocated on the stack,
which caused a stack overflow on Fuchsia.

Reviewed By: Chia-hungDuan

Differential Revision: https://reviews.llvm.org/D146229
compiler-rt/lib/scudo/standalone/tests/release_test.cpp