[pushed] Darwin, libsanitizer : Support libsanitizer for x86_64-darwin20.

Message ID 255BD5E9-DD17-4ED8-9CD4-564A54BCC0A3@sandoe.co.uk
State New
Headers show
Series
  • [pushed] Darwin, libsanitizer : Support libsanitizer for x86_64-darwin20.
Related show

Commit Message

Iain Sandoe Nov. 21, 2020, 9:48 a.m.
Hi

The sanitizer is supported for at least x86_64 and Darwin20.

tested on a bunch of darwin platforms (including x86_64-darwin20) and
on x86_64-linux,
pushed to master
thanks
Iain

libsanitizer/ChangeLog:

	* configure.tgt: Allow x86_64 Darwin2x.
---
  libsanitizer/configure.tgt | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.24.1

Patch

diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index 52503f1a880..ef9150209c4 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -62,7 +62,7 @@  case "${target}" in
  		TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo
  	fi
  	;;
-  x86_64-*-darwin1[2-9]* | i?86-*-darwin1[2-9]*)
+  x86_64-*-darwin2* | x86_64-*-darwin1[2-9]* | i?86-*-darwin1[2-9]*)
  	TSAN_SUPPORTED=no
  	;;
    x86_64-*-solaris2.11* | i?86-*-solaris2.11*)