From: Peter Collingbourne Date: Thu, 8 Aug 2013 00:15:27 +0000 (+0000) Subject: Fix ARM build. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=46c72c74cfebb27a39296b292a8fc9b75d66f665;p=oota-llvm.git Fix ARM build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187944 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp index 1cfbba71997..5e6313a5a5a 100644 --- a/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp +++ b/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp @@ -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 };