-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Test][ORC][JITLink] Preserve rbx in the test ExecutionEngine/JITLink/x86-64/ELF_vtune.s
#86472
Conversation
✅ With the latest revision this PR passed the Python code formatter. |
✅ With the latest revision this PR passed the C/C++ code formatter. |
Hi, do you mean preserve |
ExecutionEngine/JITLink/x86-64/ELF_vtune.s
ExecutionEngine/JITLink/x86-64/ELF_vtune.s
Updated, thanks. |
I believe we do not need to update cfi directives here since we didn't modify anything related to the frame pointer. But please correct me if anyone believes I made a mistake here. |
Very belatedly -- LGTM. Thanks @yingcong-wu! |
No problem. Thank you @lhames and @yugier . |
The callee should preserve rbx according to the calling convention, but it is not in the test case
ExecutionEngine/JITLink/x86-64/ELF_vtune.s
. Not preserving the rbx register may result in some random error to the caller function. This patch adds the missing command to preserve the rbx.