Make security checks in BitVector not just debug

In order to be more certain that UseCounters never write outside the
bounds of the BitVectors they use, this patch converts the
SECURITY_DCHECK statements in BitVector.h to SECURITY_CHECK.

BUG=458925

Review-Url: https://codereview.chromium.org/2704953002
Cr-Original-Commit-Position: refs/heads/master@{#454819}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c9500f1d6491a41b4222f883a60b84ad3fd82734
1 file changed
tree: d8dbed41d3e8aada43e90ace9fe23c2f51d772cf
  1. allocator/
  2. debug/
  3. dtoa/
  4. testing/
  5. text/
  6. typed_arrays/
  7. .gitignore
  8. AddressSanitizer.h
  9. Alignment.h
  10. Allocator.h
  11. Allocator.md
  12. ASCIICType.cpp
  13. ASCIICType.h
  14. ASCIICTypeTest.cpp
  15. Assertions.cpp
  16. Assertions.h
  17. AssertionsTest.cpp
  18. Atomics.h
  19. AutoReset.h
  20. BitVector.cpp
  21. BitVector.h
  22. BitwiseOperations.h
  23. BloomFilter.h
  24. BUILD.gn
  25. build_config.h
  26. ByteOrder.h
  27. ByteSwap.h
  28. CheckedNumeric.h
  29. Compiler.h
  30. ConditionalDestructor.h
  31. ContainerAnnotations.h
  32. CONTRIBUTORS.pthreads-win32
  33. CPU.h
  34. CryptographicallyRandomNumber.cpp
  35. CryptographicallyRandomNumber.h
  36. CurrentTime.cpp
  37. CurrentTime.h
  38. DataLog.cpp
  39. DataLog.h
  40. DateMath.cpp
  41. DateMath.h
  42. DEPS
  43. Deque.h
  44. DequeTest.cpp
  45. DoublyLinkedList.h
  46. dtoa.cpp
  47. dtoa.h
  48. dtoa_test.cpp
  49. DynamicAnnotations.cpp
  50. DynamicAnnotations.h
  51. FilePrintStream.cpp
  52. FilePrintStream.h
  53. Forward.h
  54. Functional.h
  55. FunctionalTest.cpp
  56. GetPtr.h
  57. HashCountedSet.h
  58. HashFunctions.h
  59. HashIterators.h
  60. HashMap.h
  61. HashMapTest.cpp
  62. HashSet.h
  63. HashSetTest.cpp
  64. HashTable.cpp
  65. HashTable.h
  66. HashTableDeletedValueType.h
  67. HashTraits.h
  68. HexNumber.h
  69. InstanceCounter.cpp
  70. InstanceCounter.h
  71. LeakAnnotations.h
  72. LinkedHashSet.h
  73. LinkedStack.h
  74. ListHashSet.h
  75. ListHashSetTest.cpp
  76. Locker.h
  77. MathExtras.h
  78. MathExtrasTest.cpp
  79. Noncopyable.h
  80. NonCopyingSort.h
  81. NotFound.h
  82. Optional.h
  83. OptionalTest.cpp
  84. OWNERS
  85. PassRefPtr.h
  86. PassRefPtrTest.cpp
  87. PrintStream.cpp
  88. PrintStream.h
  89. PtrUtil.h
  90. README.md
  91. RefCounted.h
  92. RefPtr.h
  93. RefPtrTest.cpp
  94. RefVector.h
  95. RetainPtr.h
  96. SaturatedArithmetic.h
  97. ScopedLogger.md
  98. SizeAssertions.h
  99. SizeLimits.cpp
  100. SpinLock.h
  101. StackUtil.cpp
  102. StackUtil.h
  103. StaticConstructors.h
  104. StdLibExtras.h
  105. StringExtras.h
  106. StringExtrasTest.cpp
  107. StringHasher.h
  108. StringHasherTest.cpp
  109. TerminatedArray.h
  110. TerminatedArrayBuilder.h
  111. Threading.h
  112. ThreadingPrimitives.h
  113. ThreadingPthreads.cpp
  114. ThreadingWin.cpp
  115. ThreadRestrictionVerifier.h
  116. ThreadSafeRefCounted.h
  117. ThreadSpecific.h
  118. ThreadSpecificWin.cpp
  119. Time.h
  120. TimeTest.cpp
  121. TreeNode.h
  122. TreeNodeTest.cpp
  123. TriState.h
  124. TypeTraits.h
  125. TypeTraitsTest.cpp
  126. UniquePtrTransitionGuide.md
  127. Vector.h
  128. VectorTest.cpp
  129. VectorTraits.h
  130. WeakPtr.h
  131. WTF.cpp
  132. WTF.h
  133. WTFExport.h
  134. WTFThreadData.cpp
  135. WTFThreadData.h
README.md

WTF -- Web Template Framework

The contents in this directory are being moved to platform/wtf. See platform/wtf/README.md for details.