The only non-trivial consideration in this patch is that the formation
of TBB/TBH instructions, which is done in the constant island pass, does
not understand the speculation barriers inserted by the SLSHardening
pass. As such, when harden-sls-retbr is enabled for a function, the
formation of TBB/TBH instructions in the constant island pass is
disabled.
Details
Details
- Reviewers
ostannard - Commits
- rG320fd3314e37: [ARM] Implement harden-sls-retbr for Thumb mode
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo