[Docs] Clarify what the object-size sanitizer does.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 25 Apr 2016 19:21:45 +0000 (19:21 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 25 Apr 2016 19:21:45 +0000 (19:21 +0000)
commit58ebc66e98ff3289b3fd8fcb7ffe21500a3f567d
treeeb6bfe070c6f3cd258c663f43820f597a93e00bb
parentb1467d1ef0fe13f18c5326cf80056d2f3adf6048
[Docs] Clarify what the object-size sanitizer does.

Currently, the UBSan docs make it sound like the object-size sanitizer
will only detect out-of-bounds reads/writes. It also catches some
operations that don't necessarily access memory (invalid downcasts,
calls of methods on invalid pointers, ...). This patch adds a note
about this behavior in the docs.

llvm-svn: 267447
clang/docs/UndefinedBehaviorSanitizer.rst