[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:57 PST 2024
================
@@ -1059,6 +1061,12 @@ if (LIBCXX_INSTALL_HEADERS)
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
COMPONENT cxx-headers)
+ # Install the generated __assertion_handler file to the per-target include dir.
+ install(FILES "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__assertion_handler"
+ DESTINATION "${LIBCXX_INSTALL_INCLUDE_TARGET_DIR}"
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
----------------
ldionne wrote:
```suggestion
install(FILES "${LIBCXX_GENERATED_INCLUDE_DIR}/__assertion_handler"
DESTINATION "${LIBCXX_INSTALL_INCLUDE_DIR}"
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
```
https://github.com/llvm/llvm-project/pull/77883
More information about the libcxx-commits
mailing list