diff options
author | Andreas Schwab <schwab@suse.de> | 2023-12-18 15:19:54 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2024-01-02 18:52:30 +0100 |
commit | ae11ee8f85c359714a15d234a577486acb8e8987 (patch) | |
tree | e443cf31be8ec41bd367b53a0ffa65826647e272 /libsanitizer | |
parent | 046cea56fd1e8bc52681baef3f68164482b3fe90 (diff) | |
download | gcc-ae11ee8f85c359714a15d234a577486acb8e8987.zip gcc-ae11ee8f85c359714a15d234a577486acb8e8987.tar.gz gcc-ae11ee8f85c359714a15d234a577486acb8e8987.tar.bz2 |
libsanitizer: Enable LSan and TSan for riscv64
libsanitizer:
* configure.tgt (riscv64-*-linux*): Enable LSan and TSan.
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/configure.tgt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index d24566a..38fc700 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -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*) ;; |