[PATCH 5/5] [asan] Avoid shift count overflow in CanBeAHeapPointer

H.J. Lu hjl.tools at gmail.com
Wed May 21 09:09:18 PDT 2014

On Wed, May 21, 2014 at 1:41 AM, Kostya Serebryany <kcc at google.com> wrote:
> Hmmm.
> Did you use lsan on x32, or you just tried to build it?
> I afraid, lsan is not going to work on x32 properly, even if it may *appear
> to work* on small cases.
> See e.g. https://code.google.com/p/address-sanitizer/issues/detail?id=294#c5
> So, r209283 disables lsan if wordsize != 64.

That is OK.

> If you want to enable lsan on x32, let this be a separate effort.

There is no need for it. As you noted, lsan is not  very useful in 32-bit.



More information about the llvm-commits mailing list