[all-commits] [llvm/llvm-project] 3764d0: [libc][setjmp] make x86_64 longjmp naked (#112581)
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Thu Oct 17 07:09:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3764d0ff15ef281974879002e27857a041bd5b9c
https://github.com/llvm/llvm-project/commit/3764d0ff15ef281974879002e27857a041bd5b9c
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-10-17 (Thu, 17 Oct 2024)
Changed paths:
M libc/src/setjmp/longjmp.h
M libc/src/setjmp/x86_64/longjmp.cpp
Log Message:
-----------
[libc][setjmp] make x86_64 longjmp naked (#112581)
The generated asm for x86_64's longjmp has a function prolog and epilog.
The
epilog in particular is unreachable. Convert longjmp to a naked function
to
avoid these spurious instructions in longjmp.
Link: https://github.com/llvm/llvm-project/pull/112437/files#r1802085511
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list