summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/Sanitizers.def
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2012-11-23 10:39:49 +0000
committerJoey Gouly <joey.gouly@arm.com>2012-11-23 10:39:49 +0000
commit85489080807b47b70d26611ba543801e16bec4cd (patch)
tree56667df8f6d4774ce20329cee27463000aa89836 /include/clang/Basic/Sanitizers.def
parent66b8a6671bb5df540dd7200a5286f7ed7a72c1cc (diff)
PR14306: Move -fbounds-checking to -fsanitize=bounds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Sanitizers.def')
-rw-r--r--include/clang/Basic/Sanitizers.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Basic/Sanitizers.def b/include/clang/Basic/Sanitizers.def
index 085ca16eae..135832de91 100644
--- a/include/clang/Basic/Sanitizers.def
+++ b/include/clang/Basic/Sanitizers.def
@@ -56,6 +56,7 @@ SANITIZER("null", Null)
SANITIZER("vptr", Vptr)
SANITIZER("object-size", ObjectSize)
SANITIZER("float-cast-overflow", FloatCastOverflow)
+SANITIZER("bounds", Bounds)
// -fsanitize=undefined (and its alias -fcatch-undefined-behavior). This should
// include all the sanitizers which have low overhead, no ABI or address space
@@ -63,7 +64,7 @@ SANITIZER("float-cast-overflow", FloatCastOverflow)
SANITIZER_GROUP("undefined", Undefined,
SignedIntegerOverflow | DivideByZero | Shift | Unreachable |
Return | VLABound | Alignment | Null | Vptr | ObjectSize |
- FloatCastOverflow)
+ FloatCastOverflow | Bounds)
#undef SANITIZER
#undef SANITIZER_GROUP