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 6ca41d9 commit 9908066Copy full SHA for 9908066
libc/src/setjmp/x86_64/longjmp.cpp
@@ -32,16 +32,11 @@ LLVM_LIBC_FUNCTION(void, longjmp, (jmp_buf, int)) {
32
movq %c[r15](%%rdi), %%r15
33
movq %c[rsp](%%rdi), %%rsp
34
jmpq *%c[rip](%%rdi)
35
- )" ::
36
- [rbx] "i"(offsetof(__jmp_buf, rbx)),
37
- [rbp] "i"(offsetof(__jmp_buf, rbp)),
38
- [r12] "i"(offsetof(__jmp_buf, r12)),
39
- [r13] "i"(offsetof(__jmp_buf, r13)),
40
- [r14] "i"(offsetof(__jmp_buf, r14)),
41
- [r15] "i"(offsetof(__jmp_buf, r15)),
42
- [rsp] "i"(offsetof(__jmp_buf, rsp)),
43
- [rip] "i"(offsetof(__jmp_buf, rip))
44
-);
+ )" ::[rbx] "i"(offsetof(__jmp_buf, rbx)),
+ [rbp] "i"(offsetof(__jmp_buf, rbp)), [r12] "i"(offsetof(__jmp_buf, r12)),
+ [r13] "i"(offsetof(__jmp_buf, r13)), [r14] "i"(offsetof(__jmp_buf, r14)),
+ [r15] "i"(offsetof(__jmp_buf, r15)), [rsp] "i"(offsetof(__jmp_buf, rsp)),
+ [rip] "i"(offsetof(__jmp_buf, rip)));
45
}
46
47
} // namespace LIBC_NAMESPACE_DECL
0 commit comments