[compiler-rt] [scudo] [MTE] resize stack depot for allocation ring buffer (PR #74515)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 3 12:44:18 PST 2024
================
@@ -1256,7 +1275,8 @@ class Allocator {
}
void storePrimaryAllocationStackMaybe(const Options &Options, void *Ptr) {
- if (!UNLIKELY(Options.get(OptionBit::TrackAllocationStacks)))
+ if (!UNLIKELY(Options.get(OptionBit::TrackAllocationStacks)) ||
+ !RawRingBuffer)
----------------
fmayer wrote:
I don't think that is a good idea. In a follow up I make the RingBuffer atomic, so we need to load it and keep the pointer.
https://github.com/llvm/llvm-project/pull/74515
More information about the llvm-commits
mailing list