[llvm] 8ff0ab0 - [gn] attempt to port 8dfc67d6724e (__assertion_handler)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 22:25:16 PST 2024
Author: Nico Weber
Date: 2024-01-17T22:25:07-08:00
New Revision: 8ff0ab0a2ae28c4f4d4b299683a2cc69860295a2
URL: https://github.com/llvm/llvm-project/commit/8ff0ab0a2ae28c4f4d4b299683a2cc69860295a2
DIFF: https://github.com/llvm/llvm-project/commit/8ff0ab0a2ae28c4f4d4b299683a2cc69860295a2.diff
LOG: [gn] attempt to port 8dfc67d6724e (__assertion_handler)
Added:
Modified:
llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
index fc24717974c566..30217374904a3e 100644
--- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
@@ -66,6 +66,11 @@ if (current_toolchain == default_toolchain) {
values = []
}
+ copy("write_assertion_handler") {
+ sources = [ "//libcxx/vendor/llvm/default_assertion_handler.in" ]
+ outputs = [ "$libcxx_generated_include_dir/__assertion_handler" ]
+ }
+
copy("copy_headers") {
sources = [
"__algorithm/adjacent_find.h",
@@ -1079,6 +1084,7 @@ if (current_toolchain == default_toolchain) {
deps = [
":write_config_site",
":write_modulemap",
+ ":write_assertion_handler",
]
if (target_os != "mac" && target_os != "win") {
# libcxx/cmake/Modules/HandleLibCXXABI.cmake sets
More information about the llvm-commits
mailing list