[libc] [llvm] [libc][OSUtil] refactor quick_exit to be an object library everywhere (PR #85955)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 09:16:17 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) {
----------------
jhuber6 wrote:
Yeah, probably should've been more clear. This will work fine if you require runtimes builds of `clang` since it has the change, but not with the minimum clang version we support.
https://github.com/llvm/llvm-project/pull/85955
More information about the llvm-commits
mailing list