Skip to content
Unverified Commit 27c98958 authored by Aiden Grossman's avatar Aiden Grossman Committed by GitHub
Browse files

[llvm-exegesis] Preserve rcx and r11 around system call (#72807)

Currently, when making the ioctl system call, we're not preserving rcx
and r11. The system call will clobber these registers, meaning that the
values of the registers in the snippet will be different than expected.
This patch fixes that be preserving the registers around the system
call, similar to how the other registers involved in the making the
system call get preserved.

Fixes #72741.
parent 3300bc34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment