[compiler-rt] [scudo] Allow to resize allocation ring buffer (PR #82683)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 14:48:55 PST 2024
================
@@ -1594,12 +1600,33 @@ class Allocator {
RB->StackDepotSize = StackDepotSize;
RB->RawStackDepotMap = DepotMap;
- atomic_store(&RingBufferAddress, reinterpret_cast<uptr>(RB),
- memory_order_release);
+ swapOutRingBuffer(RB);
static_assert(sizeof(AllocationRingBuffer) %
alignof(typename AllocationRingBuffer::Entry) ==
0,
"invalid alignment");
----------------
fmayer wrote:
https://github.com/llvm/llvm-project/pull/84245
https://github.com/llvm/llvm-project/pull/82683
More information about the llvm-commits
mailing list