From ed8e5501791a53bd4d7b39e0b124e04c92ba12fa Mon Sep 17 00:00:00 2001 From: Vedant Kumar <vsk@apple.com> Date: Fri, 16 Jun 2017 18:38:43 +0000 Subject: [PATCH] [ubsan] docs: Add a note about pointers to volatile git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305568 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/UndefinedBehaviorSanitizer.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/UndefinedBehaviorSanitizer.rst b/docs/UndefinedBehaviorSanitizer.rst index ea776a77047..85dd549baaf 100644 --- a/docs/UndefinedBehaviorSanitizer.rst +++ b/docs/UndefinedBehaviorSanitizer.rst @@ -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 -- GitLab