[libc-commits] [libc] [libc] implement quick exit function (PR #93621)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Wed May 29 13:38:32 PDT 2024
================
@@ -6,13 +6,17 @@
//
//===----------------------------------------------------------------------===//
-#include "src/__support/OSUtil/quick_exit.h"
+#include "src/__support/OSUtil/exit.h"
// This is intended to be provided by the vendor.
extern "C" [[noreturn]] void __llvm_libc_quick_exit(int status);
namespace LIBC_NAMESPACE {
+namespace internal {
-[[noreturn]] void quick_exit(int status) { __llvm_libc_quick_exit(status); }
+[[noreturn]] void exit(int status) { __llvm_libc_quick_exit(status); }
----------------
michaelrj-google wrote:
nit: run the formatter on this file
https://github.com/llvm/llvm-project/pull/93621
More information about the libc-commits
mailing list