Skip to content

Commit b16ef20

Browse files
committed
[gn] port d750c6d
1 parent 78a4634 commit b16ef20

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

llvm/utils/gn/secondary/libcxx/include/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ if (current_toolchain == default_toolchain) {
11921192
"__locale_dir/time.h",
11931193
"__locale_dir/wbuffer_convert.h",
11941194
"__locale_dir/wstring_convert.h",
1195+
"__log_hardening_failure",
11951196
"__math/abs.h",
11961197
"__math/copysign.h",
11971198
"__math/error_functions.h",

llvm/utils/gn/secondary/libcxx/src/BUILD.gn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,10 @@ if (libcxx_enable_experimental) {
317317
static_library("cxx_experimental") {
318318
output_dir = runtimes_dir
319319
output_name = "c++experimental"
320-
sources = [ "experimental/keep.cpp" ]
320+
sources = [
321+
"experimental/keep.cpp",
322+
"experimental/log_hardening_failure.cpp",
323+
]
321324
if (libcxx_enable_filesystem && libcxx_enable_time_zone_database) {
322325
sources += [
323326
# TODO TZDB The exception could be moved in chrono once the TZDB library

0 commit comments

Comments
 (0)