diff options
author | Florian Mayer <fmayer@google.com> | 2024-03-06 15:45:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 15:45:49 -0800 |
commit | 8acef12030617e7e160eee38d92bc91007c7fd94 (patch) | |
tree | 44e43d17a4e6eeb44a4245b6f168458fbbe521a1 /compiler-rt | |
parent | e3faae96e76c31c163973854cfe6689f28acc4ff (diff) | |
download | llvm-8acef12030617e7e160eee38d92bc91007c7fd94.zip llvm-8acef12030617e7e160eee38d92bc91007c7fd94.tar.gz llvm-8acef12030617e7e160eee38d92bc91007c7fd94.tar.bz2 |
[NFC] [scudo] remove DCHECK (#84255)
this gets checked in StackDepot::init anyway
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/scudo/standalone/combined.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/lib/scudo/standalone/combined.h b/compiler-rt/lib/scudo/standalone/combined.h index fa60773..069b5f6 100644 --- a/compiler-rt/lib/scudo/standalone/combined.h +++ b/compiler-rt/lib/scudo/standalone/combined.h @@ -1570,7 +1570,6 @@ private: if (TabSize > UINT32_MAX / kFramesPerStack) return; u32 RingSize = static_cast<u32>(TabSize * kFramesPerStack); - DCHECK(isPowerOfTwo(RingSize)); uptr StackDepotSize = sizeof(StackDepot) + sizeof(atomic_u64) * RingSize + sizeof(atomic_u32) * TabSize; |