[compiler-rt] [NFC] Make RingBuffer an atomic pointer (PR #82547)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 23 11:07:03 PST 2024
================
@@ -688,14 +688,16 @@ class Allocator {
Quarantine.disable();
Primary.disable();
Secondary.disable();
- if (Depot)
- Depot->disable();
+ AllocationRingBuffer *RB = getRingBuffer();
+ if (RB)
+ RB->disable();
----------------
fmayer wrote:
I don't think this matters either way, but sure.
https://github.com/llvm/llvm-project/pull/82547
More information about the llvm-commits
mailing list