================ @@ -0,0 +1,26 @@ +//===-- Static header for libc_constraint_handler ---------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIBC_SRC___SUPPORT_ANNEX_K_LIBC_CONSTRAINT_HANDLER_H +#define LLVM_LIBC_SRC___SUPPORT_ANNEX_K_LIBC_CONSTRAINT_HANDLER_H + +#include "abort_handler_s.h" +#include "hdr/types/constraint_handler_t.h" + +namespace LIBC_NAMESPACE_DECL { + +namespace annex_k { + +LIBC_INLINE static constraint_handler_t libc_constraint_handler = + &abort_handler_s; ---------------- vhscampos wrote:
Can you please add to the PR description the reasoning behind choosing the abort handler as the default one? At first glance it seems to be a good choice, but we ought to have something written down. https://github.com/llvm/llvm-project/pull/164091 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
