summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Bruening <bruening@google.com>2016-05-20 20:00:05 +0000
committerDerek Bruening <bruening@google.com>2016-05-20 20:00:05 +0000
commit21214517f01a690f69948441e3c84fef38717390 (patch)
tree58316dd78dd20c335dc46843c2d3cb143bbad6ea /include
parent59427f6dc74f369a4c191b47c848ff329b600253 (diff)
[esan] Use ModulePass for EfficiencySanitizerPass.
Summary: Uses ModulePass instead of FunctionPass for EfficiencySanitizerPass to better support global variable creation for a forthcoming struct field counter tool. Patch by Qin Zhao. Reviewers: aizatsky Subscribers: llvm-commits, eugenis, vitalybuka, bruening, kcc Differential Revision: http://reviews.llvm.org/D20458 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Instrumentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index e9a4fe75fd8..1b8533d498b 100644
--- a/include/llvm/Transforms/Instrumentation.h
+++ b/include/llvm/Transforms/Instrumentation.h
@@ -127,7 +127,7 @@ struct EfficiencySanitizerOptions {
};
// Insert EfficiencySanitizer instrumentation.
-FunctionPass *createEfficiencySanitizerPass(
+ModulePass *createEfficiencySanitizerPass(
const EfficiencySanitizerOptions &Options = EfficiencySanitizerOptions());
// Options for sanitizer coverage instrumentation.