On Mon, Jul 13, 2020 at 7:33 PM Jun Sha <
js5...@columbia.edu> wrote:
> What do you mean by RISC-V support in sanitizer_common? Has anyone already enabled the address sanitizer for RISC-V GCC toolchain?
Just grep for riscv in the sanitizer sources and there is stuff there.
But obviously some other stuff is still missing. It looks like maybe
ubsan is the only one that currently works.
> From my perspective, the latest version of gnu toolchain cannot support the flag '-fsanitize=address' for RISC-V compilation yet.
Correct. -fsanitize=address is not supported in gcc. I was misled by
the fact that we are building it even though it doesn't work.
> Also, what about things in RISC-V LLVM? It needs asan support too.
I don't know about llvm, but other people can answer that.
Jim