Skip to content

Commit 079d268

Browse files
Update llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
Co-authored-by: Anatoly Trosinenko <[email protected]>
1 parent e7b3600 commit 079d268

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,7 @@ class ExegesisAArch64Target : public ExegesisTarget {
220220
// safer to check the existing key state and then disable/enable them.
221221
// Hence the guard for switching.
222222
errno = 0;
223-
unsigned long PacKeys = prctl_wrapper(PR_PAC_GET_ENABLED_KEYS,
224-
0, // unused
225-
0, // unused
226-
0, // unused
227-
0); // unused
223+
unsigned long PacKeys = prctl_wrapper(PR_PAC_GET_ENABLED_KEYS);
228224
if ((long)PacKeys < 0) {
229225
if (errno == EINVAL) {
230226
return "PAuth not supported on this system";

0 commit comments

Comments
 (0)