[ubsan] docs: Add a note about pointers to volatile

llvm-svn: 305568
This commit is contained in:
Vedant Kumar 2017-06-16 18:38:43 +00:00
parent c9fefaac67
commit e42e5cf8bd
1 changed files with 6 additions and 0 deletions

View File

@ -148,6 +148,12 @@ You can also use the following check groups:
nullability does not have undefined behavior, it is often unintentional,
so UBSan offers to catch it.
Volatile
--------
The ``null``, ``alignment``, ``object-size``, and ``vptr`` checks do not apply
to pointers to types with the ``volatile`` qualifier.
Stack traces and report symbolization
=====================================
If you want UBSan to print symbolized stack trace for each error report, you