mirror of git://gcc.gnu.org/git/gcc.git
libsanitizer: Enable LSan and TSan for riscv64
libsanitizer: * configure.tgt (riscv64-*-linux*): Enable LSan and TSan.
This commit is contained in:
parent
046cea56fd
commit
ae11ee8f85
|
@ -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*)
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue