diff options
author | Derek Bruening <bruening@google.com> | 2016-04-21 21:32:04 +0000 |
---|---|---|
committer | Derek Bruening <bruening@google.com> | 2016-04-21 21:32:04 +0000 |
commit | a3e7a4fe794d510ea65eae30fffd63f66418bbb6 (patch) | |
tree | 1e0f54bd423596e77af4ff3fa2286e413c8ed1f8 /include/clang/Basic/Sanitizers.def | |
parent | 3c188bce6b37bf75d728943bb208415b018134db (diff) | |
download | clang-a3e7a4fe794d510ea65eae30fffd63f66418bbb6.tar.gz |
[esan] EfficiencySanitizer driver flags
Summary:
Adds a framework to enable the instrumentation pass for the new
EfficiencySanitizer ("esan") family of tools. Adds a flag for esan's
cache fragmentation tool via -fsanitize=efficiency-cache-frag.
Adds appropriate tests for the new flag.
Reviewers: eugenis, vitalybuka, aizatsky, filcab
Subscribers: filcab, kubabrecka, llvm-commits, zhaoqin, kcc
Differential Revision: http://reviews.llvm.org/D19169
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Sanitizers.def')
-rw-r--r-- | include/clang/Basic/Sanitizers.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Basic/Sanitizers.def b/include/clang/Basic/Sanitizers.def index 4b68593629..3bf289ca7d 100644 --- a/include/clang/Basic/Sanitizers.def +++ b/include/clang/Basic/Sanitizers.def @@ -114,6 +114,11 @@ SANITIZER_GROUP("integer", Integer, SANITIZER("local-bounds", LocalBounds) SANITIZER_GROUP("bounds", Bounds, ArrayBounds | LocalBounds) +// EfficiencySanitizer +SANITIZER("efficiency-cache-frag", EfficiencyCacheFrag) +// Meta-group only used internally. +SANITIZER_GROUP("efficiency-all", Efficiency, EfficiencyCacheFrag) + // Magic group, containing all sanitizers. For example, "-fno-sanitize=all" // can be used to disable all the sanitizers. SANITIZER_GROUP("all", All, ~0ULL) |