[libc-commits] [libc] [libc][annex_k] Add abort_handler_s. (PR #164089)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Wed Mar 25 05:56:21 PDT 2026
================
@@ -0,0 +1,43 @@
+//===-- Implementation for abort_handler_s ----------------------*- 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_ABORT_HANDLER_S_H
+#define LLVM_LIBC_SRC___SUPPORT_ANNEX_K_ABORT_HANDLER_S_H
+
+#include "hdr/stdio_macros.h"
+#include "hdr/types/errno_t.h"
+#include "src/__support/OSUtil/io.h"
+#include "src/__support/common.h"
+#include "src/stdlib/abort.h"
+
+namespace LIBC_NAMESPACE_DECL {
----------------
vhscampos wrote:
This macro is defined in `src/__support/macros/config.h`. Please add a #include to this file and add it as a dependency in CMakeLists.txt
https://github.com/llvm/llvm-project/pull/164089
More information about the libc-commits
mailing list