Re: [PATCH 02/10] Initial asan cleanups

2012-11-12 Thread Dodji Seketeli
> On 2012-11-02 15:57 , Dodji Seketeli wrote: > > > /* AddressSanitizer, a fast memory error detector. > > - Copyright (C) 2011 Free Software Foundation, Inc. > > + Copyright (C) 2011, 2012 Free Software Foundation, Inc. > > I *think* we should only mention 2012, but I don't know if code in

Re: [PATCH 02/10] Initial asan cleanups

2012-11-06 Thread Diego Novillo
On 2012-11-02 15:57 , Dodji Seketeli wrote: /* AddressSanitizer, a fast memory error detector. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2012 Free Software Foundation, Inc. I *think* we should only mention 2012, but I don't know if code in branches counts

[PATCH 02/10] Initial asan cleanups

2012-11-02 Thread Dodji Seketeli
This patch defines a new asan_shadow_offset target macro, instead of having a mere macro in the asan.c file. It becomes thus cleaner to define the target macro for targets that supports asan, namely x86 for now. The ASAN_SHADOW_SHIFT (which, along with the asan_shadow_offset constant, is used to