Skip to content

Commit 9908066

Browse files
reformat
1 parent 6ca41d9 commit 9908066

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

libc/src/setjmp/x86_64/longjmp.cpp

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,11 @@ LLVM_LIBC_FUNCTION(void, longjmp, (jmp_buf, int)) {
3232
movq %c[r15](%%rdi), %%r15
3333
movq %c[rsp](%%rdi), %%rsp
3434
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-
);
35+
)" ::[rbx] "i"(offsetof(__jmp_buf, rbx)),
36+
[rbp] "i"(offsetof(__jmp_buf, rbp)), [r12] "i"(offsetof(__jmp_buf, r12)),
37+
[r13] "i"(offsetof(__jmp_buf, r13)), [r14] "i"(offsetof(__jmp_buf, r14)),
38+
[r15] "i"(offsetof(__jmp_buf, r15)), [rsp] "i"(offsetof(__jmp_buf, rsp)),
39+
[rip] "i"(offsetof(__jmp_buf, rip)));
4540
}
4641

4742
} // namespace LIBC_NAMESPACE_DECL

0 commit comments

Comments
 (0)