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