[llvm] r187944 - Fix ARM build.

Peter Collingbourne peter at pcc.me.uk
Wed Aug 7 17:15:27 PDT 2013


Author: pcc
Date: Wed Aug  7 19:15:27 2013
New Revision: 187944

URL: http://llvm.org/viewvc/llvm-project?rev=187944&view=rev
Log:
Fix ARM build.

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp?rev=187944&r1=187943&r2=187944&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp Wed Aug  7 19:15:27 2013
@@ -236,7 +236,7 @@ bool DataFlowSanitizer::doInitialization
   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 };





More information about the llvm-commits mailing list