This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH} Enable libsanitizer on darwin


Jack Howarth <howarth@bromo.med.uc.edu> writes:

> Index: libsanitizer/configure.tgt
> ===================================================================
> --- libsanitizer/configure.tgt	(revision 193500)
> +++ libsanitizer/configure.tgt	(working copy)
> @@ -20,7 +20,7 @@
>  
>  # Filter out unsupported systems.
>  case "${target}" in
> -  x86_64-*-linux* | i?86-*-linux*)
> +  x86_64-*-linux* | i?86-*-linux* | *-*-darwin* )
>  	;;
>    *)
>  	UNSUPPORTED=1

Please no: keep the case labels sorted alphabetically by target,
something like

case i?86-*-linux* | x86_64-*-linux*)
     ;;
case *-*-darwin*)
     ;;

Although I suppose this is wrong: currently, libsanitizer only supports
x86, not powerpc.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]