Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a preprocessor definitions to indidcate the landing pad labeling … #76

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/c-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ a|
|`+__riscv_misaligned_fast+` |1 | Scalar misaligned accesses are fast.
|`+__riscv_misaligned_slow+` |1 | Scalar misaligned accesses are supported, but may be substantially slower than aligned accesses.
|`+__riscv_misaligned_avoid+` |1 | Scalar misaligned accesses are not supported and could trap. (see <<__riscv_misaligned_fast_slow_avoid, `+__riscv_misaligned_{fast,slow,avoid}+`>>)
| `+__riscv_landing_pad+` | 1 | Defined if the landing pad is enabled.
| `+__riscv_landing_pad_unlabeled+` | 1 | Defined if the unlabeled labeling scheme is enabled.
| `+__riscv_landing_pad_func_sig+` | 1 | Defined if the function signature based labeling scheme is enabled.
| `+__riscv_shadow_stack+` | 1 | Defined if the shadow stack is enabled.
|===

[id=__riscv_v_min_vlen]
Expand Down