File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
libc/src/__support/annex_k Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,12 @@ add_header_library(
1010 libc.src.__support.OSUtil.osutil
1111 libc.src.stdlib.abort
1212)
13+
14+ add_header_library(
15+ libc_constraint_handler
16+ HDRS
17+ libc_constraint_handler.h
18+ DEPENDS
19+ .abort_handler_s
20+ libc.hdr.types.constraint_handler_t
21+ )
Original file line number Diff line number Diff line change 1+ // ===-- Static header for libc_constraint_handler ---------------*- C++ -*-===//
2+ //
3+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+ // See https://llvm.org/LICENSE.txt for license information.
5+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+ //
7+ // ===----------------------------------------------------------------------===//
8+
9+ #ifndef LLVM_LIBC_SRC___SUPPORT_ANNEX_K_LIBC_CONSTRAINT_HANDLER_H
10+ #define LLVM_LIBC_SRC___SUPPORT_ANNEX_K_LIBC_CONSTRAINT_HANDLER_H
11+
12+ #include " abort_handler_s.h"
13+ #include " hdr/types/constraint_handler_t.h"
14+
15+ namespace LIBC_NAMESPACE_DECL {
16+
17+ namespace annex_k {
18+
19+ LIBC_INLINE static constraint_handler_t libc_constraint_handler =
20+ &abort_handler_s;
21+
22+ } // namespace annex_k
23+
24+ } // namespace LIBC_NAMESPACE_DECL
25+
26+ #endif // LLVM_LIBC_SRC___SUPPORT_ANNEX_K_LIBC_CONSTRAINT_HANDLER_H
You can’t perform that action at this time.
0 commit comments