[LLVMdev] PointerIntPair causing trouble
Chris Lattner
clattner at apple.com
Fri May 1 17:35:45 PDT 2009
On May 1, 2009, at 3:40 PM, Stefanus Du Toit wrote:
> Hi Nicolas,
>
> Looks like Preston and I have found the cause of the problem. The
> issue is with PointerLikeTypeTraits<T*>::NumLowBitsAvailable. This
> is set to 3, which basically assumes that unless the traits are
> specialized for a particular pointer type, objects of that type are
> allocated with malloc() and aligned to 8 bytes.
I still don't understand why this is a problem, but I decreased the
default to 2 bits. Please verify that this helps,
-Chris
More information about the llvm-dev
mailing list