Fix ARM build.

llvm-svn: 187944
This commit is contained in:
Peter Collingbourne 2013-08-08 00:15:27 +00:00
parent a8c38e944e
commit 34bf946403

View File

@ -236,7 +236,7 @@ bool DataFlowSanitizer::doInitialization(Module &M) {
ShadowPtrTy = PointerType::getUnqual(ShadowTy);
IntptrTy = DL->getIntPtrType(*Ctx);
ZeroShadow = ConstantInt::getSigned(ShadowTy, 0);
ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0x700000000000);
ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0x700000000000LL);
ShadowPtrMul = ConstantInt::getSigned(IntptrTy, ShadowWidth / 8);
Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy };