[libc-commits] [libc] [libc] implement quick exit function (PR #93621)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed May 29 17:12:00 PDT 2024


================
@@ -0,0 +1,17 @@
+//===-- Unittests for quick_exit ------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/stdlib/quick_exit.h"
+#include "test/UnitTest/Test.h"
+
+#include <stdlib.h>
----------------
nickdesaulniers wrote:

do we need anything from stdlib here? I don't think so; can you remove it?

https://github.com/llvm/llvm-project/pull/93621


More information about the libc-commits mailing list