File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lldb/test/API/linux/aarch64/gcs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,11 @@ def check_gcs_registers(
219219 # Now to prove we can write gcs_features_enabled, disable GCS and continue
220220 # past the fault we caused. Note that although the libc likely locked the
221221 # ability to disable GCS, ptrace bypasses the lock bits.
222- gcs_enabled &= ~ 1
223- self .runCmd (f"register write gcs_features_enabled { gcs_enabled } " )
222+ enabled &= ~ 1
223+ self .runCmd (f"register write gcs_features_enabled { enabled } " )
224224 self .expect (
225225 "register read gcs_features_enabled" ,
226- substrs = [f"gcs_features_enabled = 0x{ gcs_enabled :016x} " ],
226+ substrs = [f"gcs_features_enabled = 0x{ enabled :016x} " ],
227227 )
228228
229229 # With GCS disabled, the invalid guarded control stack pointer is not
You can’t perform that action at this time.
0 commit comments