We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ca6ee7 commit e1b6523Copy full SHA for e1b6523
llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
@@ -234,11 +234,11 @@ class ExegesisAArch64Target : public ExegesisTarget {
234
// since authentication checks are bypassed.
235
if ((long)PacKeys != 0) {
236
// Operate on all keys.
237
- const long KeysToControl =
+ const long KeysToControl =
238
PR_PAC_APIAKEY | PR_PAC_APIBKEY | PR_PAC_APDAKEY | PR_PAC_APDBKEY;
239
// Disable all.
240
const long EnabledBitMask = 0;
241
- if (prctl_wrapper(PR_PAC_SET_ENABLED_KEYS, KeysToControl,
+ if (prctl_wrapper(PR_PAC_SET_ENABLED_KEYS, KeysToControl,
242
EnabledBitMask) < 0) {
243
return "Failed to disable PAC keys";
244
}
0 commit comments