libsanitizer: Enable LSan and TSan for riscv64

libsanitizer:
	* configure.tgt (riscv64-*-linux*): Enable LSan and TSan.
This commit is contained in:
Andreas Schwab 2023-12-18 15:19:54 +01:00
parent 046cea56fd
commit ae11ee8f85
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ case "${target}" in
x86_64-*-solaris2.11* | i?86-*-solaris2.11*)
;;
riscv64-*-linux*)
if test x$ac_cv_sizeof_void_p = x8; then
TSAN_SUPPORTED=yes
LSAN_SUPPORTED=yes
TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_riscv64.lo
fi
;;
loongarch64-*-linux*)
;;