Skip to content

Commit a1ced17

Browse files
committed
Address Omair's comments
1 parent 4916c3c commit a1ced17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/docs/use/aarch64-linux.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ GCS support includes the following new registers:
238238
* `gcs_features_locked`
239239
* `gcspr_el0`
240240

241-
These map to the registers ptrace provides. The first two have had a `gcs_`
241+
These map to the registers ptrace provides. The first two have a `gcs_`
242242
prefix added as their names are too generic without it.
243243

244244
When the GCS is enabled the kernel allocates a memory region for it. This region
@@ -267,14 +267,14 @@ GCS registers, apart from the enable bit of `gcs_features_enabled`. This is
267267
because there are limits on how often and from where you can set this
268268
bit.
269269

270-
We cannot enable GCS from ptrace at all and it is expected that a process
271-
that has enabled GCS then disabled it, will not enable it again. The simplest
270+
GCS cannot be enabled from ptrace and it is expected that a process which
271+
has enabled and then disabled GCS, will not enable it again. The simplest
272272
choice was to not restore the enable bit at all. It is up to the user or
273273
program to manage that bit.
274274

275275
The return address that LLDB pushed onto the Guarded Control Stack will be left
276276
in place. As will any values that were pushed to the stack by functions run
277-
during the expresison.
277+
during the expression.
278278

279279
When the process resumes, `gcspr_el0` will be pointing to the original entry
280280
on the guarded control stack. So the other values will have no effect and

0 commit comments

Comments
 (0)