[CMake][fuzzer] Add riscv64 to fuzzer supported arch list
authorEli Kobrin <kobrineli@star.intra.ispras.ru>
Fri, 12 May 2023 01:33:44 +0000 (18:33 -0700)
committerFangrui Song <i@maskray.me>
Fri, 12 May 2023 01:33:44 +0000 (18:33 -0700)
commit80ed3c30fc5c4c9f7f4f56360b30bcd4c1eb87fa
tree477a738e891c0109b2bdbe7e7e4c126d3808d529
parent1aec3d15aaa25c39fae026688708d7353d488974
[CMake][fuzzer] Add riscv64 to fuzzer supported arch list

I tried to build libFuzzer for RISC-V and succeeded. All the libFuzzer
targets were successfully built. I tested this on the small hello world code
with a few branches to check the instrumentation; all of them were covered by
libFuzzer on RISC-V arch. So I suppose it makes sense to enable libFuzzer
build for RISC-V.

Reviewed By: phosek, thetruestblue, MaskRay

Differential Revision: https://reviews.llvm.org/D147788
compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake