This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: What CPP macro should -fsanitize=address define?
- From: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 Nov 2012 22:47:31 +0400
- Subject: Re: What CPP macro should -fsanitize=address define?
- References: <CAMe9rOr7N41+szx8uvmK55HrYrQg9WKByzXVA+4oGn6XvSwCUg@mail.gmail.com>
On Wed, Nov 21, 2012 at 10:42 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hi,
>
> I am working on ASAN bootstrap support. I need a CPP macro
> for -fsanitize=address. I am learning toward __SANITIZE_ADDRESS__.
That would be a reasonable option
(some background: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55397)
--kcc
> Any comments?
>
> Thanks.
>
> --
> H.J.