mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 17:16:04 +00:00

Add a new test mode that enables the hardened mode in combination with ABI-breaking changes (only bounded iterators currently) and reenable the bounded iterator tests for `span` and `string_view`.
3 lines
126 B
CMake
3 lines
126 B
CMake
set(LIBCXX_HARDENING_MODE "hardened" CACHE STRING "")
|
|
set(LIBCXX_ABI_DEFINES "_LIBCPP_ABI_BOUNDED_ITERATORS" CACHE STRING "")
|