diff options
| author | Yeting Kuo <46629943+yetingk@users.noreply.github.com> | 2023-10-26 15:10:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-26 15:10:57 +0800 |
| commit | 6e2d67e7d66f46fbe4f4c35c7c59d3a8706ea8b0 (patch) | |
| tree | 8a254869ee3e1a3b21ce92af7e62e30189fae4ee /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 897cc8a7d7c0e47686322dbd4b95ecad30bb2298 (diff) | |
[RISCV] Support predefined macro __riscv_misaligned_[fast,avoid]. (#65756)
RISC-V C API introduced predefined macro to achieve hints about
unaligned accesses ([pr]). This patch defines __riscv_misaligned_fast
when using -mno-strict-align, otherwise, defines
__riscv_misaligned_avoid.
Note: This ignores __riscv_misaligned_slow which is also defined by
spec.
[pr]: https://github.com/riscv-non-isa/riscv-c-api-doc/pull/40
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
