We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79c080 commit 435e5c1Copy full SHA for 435e5c1
libc/src/__support/OSUtil/linux/exit.cpp
@@ -15,9 +15,9 @@ namespace LIBC_NAMESPACE::internal {
15
// mark as no_stack_protector for x86 since TLS can be torn down before calling
16
// exit so that the stack protector canary cannot be loaded.
17
#ifdef LIBC_TARGET_ARCH_IS_X86
18
-[[clang::no_stack_protector]]
+__attribute__((no_stack_protector))
19
#endif
20
-[[noreturn]] void
+__attribute__((noreturn)) void
21
exit(int status) {
22
for (;;) {
23
LIBC_NAMESPACE::syscall_impl<long>(SYS_exit_group, status);
0 commit comments