rs6000: add support for sanitizers on FreeBSD
Commit Message
GCC's f732bf6a603721f61102a08ad2d023c7c2670870 merged LLVM's
315d792130258a9b7250494be8d002ebb427b08f, which added sanitizers support for
PowerPC on FreeBSD, so this commit only enables building it.
Enabled sanitizers are the same as on powerpc*-*-linux*.
libsanitizer
* configure.tgt: add powerpc*-*-freebsd* as supported
---
libsanitizer/ChangeLog | 4 ++++
libsanitizer/configure.tgt | 2 ++
2 files changed, 6 insertions(+)
@@ -1,3 +1,7 @@
+2022-05-15 Piotr Kubaj <pkubaj@FreeBSD.org>
+
+ * configure.tgt: add powerpc*-*-freebsd*
+
2022-05-05 Martin Liska <mliska@suse.cz>
* LOCAL_PATCHES: Update.
@@ -31,6 +31,8 @@ case "${target}" in
TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_amd64.lo
fi
;;
+ powerpc*-*-freebsd*)
+ ;;
powerpc*-*-linux*)
if test x$ac_cv_sizeof_void_p = x8; then
TSAN_SUPPORTED=yes