[PATCH] [asan] Check _LP64 in addition to __x86_64__

H.J. Lu hjl.tools at gmail.com
Fri Jul 11 08:08:46 PDT 2014


Hi,

When building asan for x32, I got

/export/gnu/import/git/gcc/libsanitizer/asan/asan_rtl.cc: In function
‘void __asan::AsanInitInternal()’:
/export/gnu/import/git/gcc/libsanitizer/asan/asan_rtl.cc:605:16:
warning: large integer implicitly truncated to unsigned type
[-Woverflow]
/export/gnu/import/git/gcc/libsanitizer/asan/asan_rtl.cc:606:16:
warning: large integer implicitly truncated to unsigned type
[-Woverflow]

This patch checks _LP64 in addition to __x86_64__.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-_LP64-in-addition-to-__x86_64__.patch
Type: text/x-patch
Size: 919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140711/56bdea0c/attachment.bin>


More information about the llvm-commits mailing list