[PATCH] D93221: [ARM] Add clang command line support for -mharden-sls=

Kristof Beyls via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 18 06:11:52 PST 2020


kristof.beyls added a comment.

In D93221#2459903 <https://reviews.llvm.org/D93221#2459903>, @ostannard wrote:

> Why is this restricted to v7-A or later? The DSB and ISB instructions have existed since v6T2 and v6M.

This mitigation is never needed for M-class cores nor for v6T2.
By restricting it to v7-A it's simpler to explain in the diagnostic for which targets this is supported.
I thought that overall this was a better trade-off.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93221/new/

https://reviews.llvm.org/D93221



More information about the cfe-commits mailing list