public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Mips: Enable TSAN for 64-bit ABIs
@ 2022-07-29 10:38 Dimitrije Milosevic
  2022-08-10  6:46 ` Dimitrije Milosevic
  0 siblings, 1 reply; 2+ messages in thread
From: Dimitrije Milosevic @ 2022-07-29 10:38 UTC (permalink / raw)
  To: gcc-patches; +Cc: Djordje Todorovic, xry111, maskray

The following patch enables TSAN for mips64, on which it is supported.

Signed-off-by: Dimitrije Milosevic <dimitrije.milosevic@syrmia.com>.

libsanitizer/ChangeLog:

	* configure.tgt: Enable
	TSAN for 64-bit ABIs.
---
 libsanitizer/configure.tgt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index fb89df4935c..6855a6ca9e7 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -55,6 +55,10 @@ case "${target}" in
   arm*-*-linux*)
 	;;
   mips*-*-linux*)
+	if test x$ac_cv_sizeof_void_p = x8; then
+		TSAN_SUPPORTED=yes
+		TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_mips64.lo
+	fi
 	;;
   aarch64*-*-linux*)
 	if test x$ac_cv_sizeof_void_p = x8; then
-- 
2.25.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Mips: Enable TSAN for 64-bit ABIs
  2022-07-29 10:38 [PATCH] Mips: Enable TSAN for 64-bit ABIs Dimitrije Milosevic
@ 2022-08-10  6:46 ` Dimitrije Milosevic
  0 siblings, 0 replies; 2+ messages in thread
From: Dimitrije Milosevic @ 2022-08-10  6:46 UTC (permalink / raw)
  To: gcc-patches; +Cc: Djordje Todorovic, xry111, maskray

Gentle ping. :)

From: Dimitrije Milosevic
Sent: Friday, July 29, 2022 12:38 PM
To: gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org>
Cc: Djordje Todorovic <Djordje.Todorovic@syrmia.com>; xry111@xry111.site <xry111@xry111.site>; maskray@google.com <maskray@google.com>
Subject: [PATCH] Mips: Enable TSAN for 64-bit ABIs 
 
The following patch enables TSAN for mips64, on which it is supported.

Signed-off-by: Dimitrije Milosevic <dimitrije.milosevic@syrmia.com>.

libsanitizer/ChangeLog:

        * configure.tgt: Enable
        TSAN for 64-bit ABIs.
---
 libsanitizer/configure.tgt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index fb89df4935c..6855a6ca9e7 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -55,6 +55,10 @@ case "${target}" in
   arm*-*-linux*)
         ;;
   mips*-*-linux*)
+       if test x$ac_cv_sizeof_void_p = x8; then
+               TSAN_SUPPORTED=yes
+               TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_mips64.lo
+       fi
         ;;
   aarch64*-*-linux*)
         if test x$ac_cv_sizeof_void_p = x8; then
-- 
2.25.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-10  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29 10:38 [PATCH] Mips: Enable TSAN for 64-bit ABIs Dimitrije Milosevic
2022-08-10  6:46 ` Dimitrije Milosevic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).