[compiler-rt] ee6536b - [NFC] [scudo] actually fix DCHECK now
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 10:25:38 PST 2023
Author: Florian Mayer
Date: 2023-01-13T10:24:45-08:00
New Revision: ee6536b936fdc72f5767cc343efc6a052724e00f
URL: https://github.com/llvm/llvm-project/commit/ee6536b936fdc72f5767cc343efc6a052724e00f
DIFF: https://github.com/llvm/llvm-project/commit/ee6536b936fdc72f5767cc343efc6a052724e00f.diff
LOG: [NFC] [scudo] actually fix DCHECK now
Added:
Modified:
compiler-rt/lib/scudo/standalone/combined.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/combined.h b/compiler-rt/lib/scudo/standalone/combined.h
index 8ede5d3d5a53..faf7da2eb370 100644
--- a/compiler-rt/lib/scudo/standalone/combined.h
+++ b/compiler-rt/lib/scudo/standalone/combined.h
@@ -902,7 +902,7 @@ class Allocator {
void setTrackAllocationStacks(bool Track) {
initThreadMaybe();
if (getFlags()->allocation_ring_buffer_size == 0) {
- DCHECK(!Primary.Options.get(OptionBit::TrackAllocationStacks));
+ DCHECK(!Primary.Options.load().get(OptionBit::TrackAllocationStacks));
return;
}
if (Track)
More information about the llvm-commits
mailing list