[libcxx-commits] [libcxx] [libc++][hardening] Rework how the assertion handler can be overridden. (PR #77883)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 16 12:14:56 PST 2024
================
@@ -1020,9 +1020,11 @@ endforeach()
configure_file("__config_site.in" "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__config_site" @ONLY)
configure_file("module.modulemap.in" "${LIBCXX_GENERATED_INCLUDE_DIR}/module.modulemap" @ONLY)
+configure_file("${LIBCXX_ASSERTION_HANDLER_FILE}" "${LIBCXX_GENERATED_INCLUDE_DIR}/__assertion_handler" COPYONLY @ONLY)
set(_all_includes "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__config_site"
- "${LIBCXX_GENERATED_INCLUDE_DIR}/module.modulemap")
+ "${LIBCXX_GENERATED_INCLUDE_DIR}/module.modulemap"
+ "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__assertion_handler")
----------------
ldionne wrote:
```suggestion
"${LIBCXX_GENERATED_INCLUDE_DIR}/__assertion_handler")
```
https://github.com/llvm/llvm-project/pull/77883
More information about the libcxx-commits
mailing list