summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita5689e69afbd1b43c35958be453192a48c507d37 (patch)
tree506c7806cf1fc58ccf69ad38463fc5604001b534 /llvm/lib/Transforms/Instrumentation
parentba6c662669b0fb394bbabe35937c9c3ff4b45307 (diff)
downloadbcm5719-llvm-a5689e69afbd1b43c35958be453192a48c507d37.tar.gz
bcm5719-llvm-a5689e69afbd1b43c35958be453192a48c507d37.zip
Fix ARM build.
llvm-svn: 187944
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation')
-rw-r--r--llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
index 1cfbba71997..5e6313a5a5a 100644
--- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ b/llvm/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 };
OpenPOWER on IntegriCloud