[cfe-commits] [PATCH] Add -fsanitize= command line argument to control -fcatch-undefined-behavior, -faddress-sanitizer, and -fthread-sanitizer

Diego Novillo dnovillo at google.com
Fri Nov 2 05:53:15 PDT 2012


On Fri, Nov 2, 2012 at 2:01 AM, Dmitry Vyukov <dvyukov at google.com> wrote:

> +Diego,David
>
> And if/when we add MemorySanitizer, can we add new alias -fmemory-sanitizer?
> I am asking because we are in the process of committing asan/tsan to gcc,
> and we want to preserve consistency between clang and gcc. Gcc uses
> -address/thread-sanitizer.

I agree with Chandler.  Using compatible flags in both compiler is
going to be the best option for users.  I only ask that we don't start
changing these flags every so often (unless there is a very good
reason for doing so).


Diego.



More information about the cfe-commits mailing list