[libc-commits] [libc] [llvm] [libc] implement quick exit function (PR #93621)
via libc-commits
libc-commits at lists.llvm.org
Fri May 31 12:51:23 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
----------------
RoseZhang03 wrote:
Clang doesn't recognize [[gnu::
https://github.com/llvm/llvm-project/pull/93621
More information about the libc-commits
mailing list