summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-08 00:15:27 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-08 00:15:27 +0000
commit46c72c74cfebb27a39296b292a8fc9b75d66f665 (patch)
tree83ec7ced90cc9518c38858c4f9a71f59df74335f /lib/Transforms/Instrumentation
parent7f1a7d4137ce535558480f8e044238f35a8654e6 (diff)
downloadllvm-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.cpp2
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 };