llvm-project
c29b29bb - [libc++][hardening] Allow setting the assertion semantic via CMake. (#167636)

Commit
77 days ago
[libc++][hardening] Allow setting the assertion semantic via CMake. (#167636) Add a new CMake variable, `LIBCXX_ASSERTION_SEMANTIC`, that largely mirrors `LIBCXX_HARDENING_MODE`, except that it also supports a special value `hardening_dependent` that indicates the semantic will be selected based on the hardening mode in effect: - `fast` and `extensive` map to `quick_enforce`; - `debug` maps to `enforce`.
Author
Parents
Loading