This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR other/55292: libsanitizer doesn't support x32
On Tue, Nov 13, 2012 at 2:39 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Nov 13, 2012 at 2:26 PM, Konstantin Serebryany
> <konstantin.s.serebryany@gmail.com> wrote:
>> H.J.,
>> Question about this patch.
>> Will it work if we simply replace
>> #if __WORDSIZE == 64
>> with
>> #ifdef x86_64
>> ?
>>
>> Today, x86_64 is the only 64-bit architecture supported by asan
>> run-time on linux anyway.
>>
>>
>
> That works for me.
>
It should be
#ifdef __x86_64__
not
#ifdef x86_64
--
H.J.