[ARM] Add clang command line support for -mharden-sls=
authorKristof Beyls <kristof.beyls@arm.com>
Sun, 13 Dec 2020 18:56:48 +0000 (18:56 +0000)
committerKristof Beyls <kristof.beyls@arm.com>
Sat, 19 Dec 2020 12:49:26 +0000 (12:49 +0000)
commit9c895aea118a2f50ca8413372363c3ff6ecc21bf
tree92c9ff547fb228e5ce50a1e98ecdd6eb077743f4
parentdf8ed3928377edc6e9241a56680b694ffa9f4d6d
[ARM] Add clang command line support for -mharden-sls=

The command line syntax is identical to the -mharden-sls= command line
syntax for AArch64 targets.

Differential Revision: https://reviews.llvm.org/D93221
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/Driver/ToolChains/Arch/ARM.cpp
clang/lib/Driver/ToolChains/Arch/ARM.h
clang/test/Driver/aarch64-sls-hardening-options.c [deleted file]
clang/test/Driver/sls-hardening-options.c [new file with mode: 0644]