[libc-commits] [libc] [llvm] [libc][OSUtil] refactor quick_exit to be an object library everywhere (PR #85955)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Mar 21 14:36:59 PDT 2024


================
@@ -22,14 +17,12 @@ namespace LIBC_NAMESPACE {
 #ifdef LIBC_TARGET_ARCH_IS_X86
 __attribute__((no_stack_protector))
 #endif
-LIBC_INLINE void
-quick_exit(int status) {
+__attribute__((noreturn))
+void quick_exit(int status) {
----------------
nickdesaulniers wrote:

done in https://github.com/llvm/llvm-project/pull/85955/commits/9ceeba4d5d7db1d58eeea33c31e46e9c5aea60a1 PTAL

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


More information about the libc-commits mailing list