diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-08 00:15:27 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-08 00:15:27 +0000 |
commit | 46c72c74cfebb27a39296b292a8fc9b75d66f665 (patch) | |
tree | 83ec7ced90cc9518c38858c4f9a71f59df74335f /lib/Transforms/Instrumentation | |
parent | 7f1a7d4137ce535558480f8e044238f35a8654e6 (diff) | |
download | llvm-46c72c74cfebb27a39296b292a8fc9b75d66f665.tar.gz llvm-46c72c74cfebb27a39296b292a8fc9b75d66f665.tar.bz2 llvm-46c72c74cfebb27a39296b292a8fc9b75d66f665.tar.xz |
Fix ARM build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r-- | lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp index 1cfbba7199..5e6313a5a5 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 }; |