[compiler-rt] [NFC] Make RingBuffer an atomic pointer (PR #82547)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 16:59:41 PST 2024
================
@@ -1061,16 +1064,29 @@ class Allocator {
atomic_u32 DeallocationTrace;
atomic_u32 DeallocationTid;
};
-
+ StackDepot *Depot = nullptr;
+ uptr StackDepotSize = 0;
+ MemMapT RawRingBufferMap;
+ MemMapT RawStackDepotMap;
+ u32 RingBufferElements;
----------------
ChiaHungDuan wrote:
```suggestion
u32 RingBufferElements = 0;
```
https://github.com/llvm/llvm-project/pull/82547
More information about the llvm-commits
mailing list