Skip to content

Commit 2a9af0f

Browse files
committed
typo build error
1 parent 2c80855 commit 2a9af0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ class ExegesisAArch64Target : public ExegesisTarget {
212212
// check the existing state of the key before setting it.
213213
// For systems without PAC, this is a No-op but with PAC, it is
214214
// safer to check the existing key state and then disable/enable them.
215-
// Hence the guard placed for switching.
215+
// Hence the guard for switching.
216216
unsigned long PacKeys = 0;
217-
if (prctl(PR_PAC_GET_ENABLED_KEYS, &pac_keys, 0, 0, 0) < 0) {
217+
if (prctl(PR_PAC_GET_ENABLED_KEYS, &PacKeys, 0, 0, 0) < 0) {
218218
return "Failed to get PAC key status";
219219
}
220220

0 commit comments

Comments
 (0)