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

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri May 31 10:32:35 PDT 2024


================
@@ -10,19 +10,18 @@
 #include "syscall.h"     // For internal syscall function.
 #include <sys/syscall.h> // For syscall numbers.
 
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE::internal {
 
 // mark as no_stack_protector for x86 since TLS can be torn down before calling
 // quick_exit so that the stack protector canary cannot be loaded.
 #ifdef LIBC_TARGET_ARCH_IS_X86
 __attribute__((no_stack_protector))
 #endif
 __attribute__((noreturn)) void
----------------
nickdesaulniers wrote:

ah, GCC doesn't recognize the `[[clang::` prefix, that was the issue! Build is now broken from https://github.com/llvm/llvm-project/pull/93620

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


More information about the libc-commits mailing list