diff options
author | Mark Brown <broonie@kernel.org> | 2023-01-12 19:51:51 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-01-20 14:30:46 +0000 |
commit | 343d59119e776af3060000f7af70553fc531230e (patch) | |
tree | 731150a6aa31626afe153376652d435f2b25b231 /include | |
parent | 6e4b4f0eca88e47def703f90a403fef5b96730d5 (diff) | |
download | linux-343d59119e776af3060000f7af70553fc531230e.tar.gz linux-343d59119e776af3060000f7af70553fc531230e.tar.bz2 linux-343d59119e776af3060000f7af70553fc531230e.zip |
kselftest/arm64: Support build of MTE tests with clang
The assembly portions of the MTE selftests need to be built with a
toolchain supporting MTE. Since we support GCC versions that lack MTE
support we have logic to suppress build of these tests when using such a
toolchain but that logic is broken for LLVM=1 builds, it uses CC but CC
is only set for LLVM builds in libs.mk which needs to be included after
we have selected which test programs to build.
Since all supported LLVM versions support MTE we can simply assume MTE
support when LLVM is set. This is not a thing of beauty but it does the
job.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20230111-arm64-kselftest-clang-v1-5-89c69d377727@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions