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 cd28a68 commit 5e90193Copy full SHA for 5e90193
libc/src/setjmp/x86_64/setjmp.cpp
@@ -16,8 +16,7 @@
16
17
namespace LIBC_NAMESPACE {
18
19
-__attribute__((naked))
20
-LLVM_LIBC_FUNCTION(int, setjmp, (__jmp_buf * buf)) {
+__attribute__((naked)) LLVM_LIBC_FUNCTION(int, setjmp, (__jmp_buf * buf)) {
21
asm("mov %%rbx, %c[rbx](%%rdi)\n\t"
22
"mov %%rbp, %c[rbp](%%rdi)\n\t"
23
"mov %%r12, %c[r12](%%rdi)\n\t"
0 commit comments