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

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu May 30 09:41:42 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:

I think there was an issue with `[[]]` notation for multiple attributes, IIRC.

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


More information about the libc-commits mailing list