summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-24 23:12:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-24 23:12:18 +0000
commitaeff8a9c05b1976344c9c865a31071ae3501ce72 (patch)
treece5b1185d92269adc40aa80545cd0b67c9e2131c /llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
parente68f5d6b69f5328ec16178740abb39975d6b3224 (diff)
downloadbcm5719-llvm-aeff8a9c05b1976344c9c865a31071ae3501ce72.tar.gz
bcm5719-llvm-aeff8a9c05b1976344c9c865a31071ae3501ce72.zip
Make some DataLayout pointers const.
No functionality change. Just reduces the noise of an upcoming patch. llvm-svn: 202087
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp')
-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 338584c31cd..7dab7e30f7c 100644
--- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@ -164,7 +164,7 @@ class DataFlowSanitizer : public ModulePass {
WK_Custom
};
- DataLayout *DL;
+ const DataLayout *DL;
Module *Mod;
LLVMContext *Ctx;
IntegerType *ShadowTy;
OpenPOWER on IntegriCloud