[all-commits] [llvm/llvm-project] d1367c: [libc++][hardening][NFC] Add macros to enable hard...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Wed Jul 12 10:13:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1367ca46ee40dd76661e3f551515d77301568c0
      https://github.com/llvm/llvm-project/commit/d1367ca46ee40dd76661e3f551515d77301568c0
  Author: varconst <varconsteq at gmail.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M libcxx/CMakeLists.txt
    A libcxx/cmake/caches/Generic-debug-mode.cmake
    A libcxx/cmake/caches/Generic-hardened-mode.cmake
    A libcxx/docs/HardenedMode.rst
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/docs/index.rst
    M libcxx/include/__algorithm/comp_ref_type.h
    M libcxx/include/__algorithm/three_way_comp_ref_type.h
    M libcxx/include/__config
    M libcxx/include/__config_site.in
    M libcxx/include/__tree
    M libcxx/test/CMakeLists.txt
    M libcxx/test/libcxx/algorithms/alg.sorting/alg.heap.operations/make.heap/complexity.pass.cpp
    M libcxx/test/libcxx/algorithms/alg.sorting/assert.sort.invalid_comparator.pass.cpp
    A libcxx/test/libcxx/assertions/modes/debug.pass.cpp
    A libcxx/test/libcxx/assertions/modes/debug_mode_disabled_in_tu.pass.cpp
    A libcxx/test/libcxx/assertions/modes/debug_mode_enabled_in_tu.pass.cpp
    A libcxx/test/libcxx/assertions/modes/debug_mode_not_1_or_0.verify.cpp
    A libcxx/test/libcxx/assertions/modes/debug_no_assertions.pass.cpp
    A libcxx/test/libcxx/assertions/modes/hardened.pass.cpp
    A libcxx/test/libcxx/assertions/modes/hardened_and_debug_mutually_exclusive.verify.cpp
    A libcxx/test/libcxx/assertions/modes/hardened_mode_disabled_in_tu.pass.cpp
    A libcxx/test/libcxx/assertions/modes/hardened_mode_enabled_in_tu.pass.cpp
    A libcxx/test/libcxx/assertions/modes/hardened_mode_not_1_or_0.verify.cpp
    A libcxx/test/libcxx/assertions/modes/hardened_no_assertions.pass.cpp
    A libcxx/test/libcxx/assertions/modes/unchecked.pass.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/complexity.pass.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/ranges_sort_heap.pass.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.three.way/lexicographical_compare_three_way_comp.pass.cpp
    M libcxx/test/support/container_debug_tests.h
    M libcxx/utils/ci/buildkite-pipeline.yml
    M libcxx/utils/ci/run-buildbot
    M libcxx/utils/libcxx/test/params.py

  Log Message:
  -----------
  [libc++][hardening][NFC] Add macros to enable hardened mode.

This patch only adds new configuration knobs -- the actual assertions
will be added in follow-up patches.

Differential Revision: https://reviews.llvm.org/D153902




More information about the All-commits mailing list