[NFC] [scudo] fix mistake in DCHECK
authorFlorian Mayer <fmayer@google.com>
Fri, 13 Jan 2023 18:18:25 +0000 (10:18 -0800)
committerFlorian Mayer <fmayer@google.com>
Fri, 13 Jan 2023 18:20:42 +0000 (10:20 -0800)
sorry, my test build (and all the pre-merge bots) did not exercise this.

compiler-rt/lib/scudo/standalone/combined.h

index da8104c..8ede5d3 100644 (file)
@@ -902,7 +902,7 @@ public:
   void setTrackAllocationStacks(bool Track) {
     initThreadMaybe();
     if (getFlags()->allocation_ring_buffer_size == 0) {
-      DCHECK(!Primary.Options.get(OptionsBit::TrackAllocationStacks));
+      DCHECK(!Primary.Options.get(OptionBit::TrackAllocationStacks));
       return;
     }
     if (Track)