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

Kostya Serebryany kcc at google.com
Fri Jul 11 08:31:20 PDT 2014


r212823, thanks!


On Fri, Jul 11, 2014 at 7:08 PM, H.J. Lu <hjl.tools at gmail.com> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140711/641adfc0/attachment.html>


More information about the llvm-commits mailing list