[libcxx-commits] [PATCH] D158823: [libc++][hardening] Add back the safe mode.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 28 22:14:21 PDT 2023


var-const updated this revision to Diff 554178.
var-const added a comment.

Address feedback and rebase.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158823/new/

https://reviews.llvm.org/D158823

Files:
  libcxx/CMakeLists.txt
  libcxx/cmake/caches/Generic-safe-mode.cmake
  libcxx/docs/Hardening.rst
  libcxx/docs/ReleaseNotes/17.rst
  libcxx/docs/UsingLibcxx.rst
  libcxx/include/__config
  libcxx/include/__config_site.in
  libcxx/test/libcxx/algorithms/alg.sorting/assert.min.max.pass.cpp
  libcxx/test/libcxx/assertions/modes/debug_mode_disabled_in_tu.pass.cpp
  libcxx/test/libcxx/assertions/modes/debug_mode_enabled_in_tu.pass.cpp
  libcxx/test/libcxx/assertions/modes/debug_mode_not_1_or_0.verify.cpp
  libcxx/test/libcxx/assertions/modes/enabling_assertions_enables_hardened_mode.pass.cpp
  libcxx/test/libcxx/assertions/modes/hardened_and_debug_mutually_exclusive.verify.cpp
  libcxx/test/libcxx/assertions/modes/hardened_and_safe_mutually_exclusive.verify.cpp
  libcxx/test/libcxx/assertions/modes/hardened_mode_disabled_in_tu.pass.cpp
  libcxx/test/libcxx/assertions/modes/hardened_mode_enabled_in_tu.pass.cpp
  libcxx/test/libcxx/assertions/modes/hardened_mode_not_1_or_0.verify.cpp
  libcxx/test/libcxx/assertions/modes/safe.pass.cpp
  libcxx/test/libcxx/assertions/modes/safe_and_debug_mutually_exclusive.verify.cpp
  libcxx/test/libcxx/assertions/modes/safe_mode_disabled_in_tu.pass.cpp
  libcxx/test/libcxx/assertions/modes/safe_mode_enabled_in_tu.pass.cpp
  libcxx/test/libcxx/assertions/modes/safe_mode_not_1_or_0.verify.cpp
  libcxx/test/libcxx/containers/unord/unord.map/assert.bucket.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.map/assert.bucket_size.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.map/assert.max_load_factor.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.multimap/assert.bucket.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.multimap/assert.bucket_size.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.multimap/assert.max_load_factor.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.multiset/assert.bucket.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.multiset/assert.bucket_size.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.multiset/assert.max_load_factor.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.set/assert.bucket.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.set/assert.bucket_size.pass.cpp
  libcxx/test/libcxx/containers/unord/unord.set/assert.max_load_factor.pass.cpp
  libcxx/test/libcxx/containers/views/mdspan/layout_left/assert.index_operator.pass.cpp
  libcxx/test/libcxx/containers/views/mdspan/layout_right/assert.index_operator.pass.cpp
  libcxx/test/libcxx/containers/views/mdspan/mdspan/assert.size.pass.cpp
  libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/assert.deallocate.pass.cpp
  libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/assert.deallocate.pass.cpp
  libcxx/test/libcxx/iterators/assert.advance.pass.cpp
  libcxx/test/libcxx/iterators/assert.next.pass.cpp
  libcxx/test/libcxx/iterators/assert.prev.pass.cpp
  libcxx/test/libcxx/ranges/range.adaptors/range.drop.while/assert.begin.pass.cpp
  libcxx/test/libcxx/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/assert.equal.pass.cpp
  libcxx/test/libcxx/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/assert.equal.pass.cpp
  libcxx/test/libcxx/ranges/range.factories/range.repeat.view/ctor.piecewise.pass.cpp
  libcxx/test/libcxx/ranges/range.factories/range.repeat.view/ctor.value.bound.pass.cpp
  libcxx/test/libcxx/strings/string.view/assert.ctor.length.pass.cpp
  libcxx/test/libcxx/strings/string.view/assert.ctor.pointer.pass.cpp
  libcxx/test/libcxx/thread/futures/futures.promise/assert.set_exception.pass.cpp
  libcxx/test/libcxx/thread/futures/futures.promise/assert.set_exception_at_thread_exit.pass.cpp
  libcxx/test/libcxx/thread/thread.barrier/assert.arrive.pass.cpp
  libcxx/test/libcxx/thread/thread.barrier/assert.ctor.pass.cpp
  libcxx/test/libcxx/thread/thread.latch/assert.arrive_and_wait.pass.cpp
  libcxx/test/libcxx/thread/thread.latch/assert.count_down.pass.cpp
  libcxx/test/libcxx/thread/thread.latch/assert.ctor.pass.cpp
  libcxx/test/libcxx/thread/thread.semaphore/assert.ctor.pass.cpp
  libcxx/test/libcxx/thread/thread.semaphore/assert.release.pass.cpp
  libcxx/test/libcxx/utilities/assert.exception_guard.no_exceptions.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.clamp/assert.ranges_clamp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/assert.pop_heap.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/assert.ranges_pop_heap.pass.cpp
  libcxx/test/std/utilities/utility/utility.unreachable/assert.unreachable.pass.cpp
  libcxx/utils/ci/buildkite-pipeline.yml
  libcxx/utils/ci/run-buildbot
  libcxx/utils/libcxx/test/params.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158823.554178.patch
Type: text/x-patch
Size: 61511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230829/2e073990/attachment-0001.bin>


More information about the libcxx-commits mailing list