]> granicus.if.org Git - clang/commit
[ubsan] PR33081: Skip the standard type checks for volatile
authorVedant Kumar <vsk@apple.com>
Fri, 16 Jun 2017 03:27:36 +0000 (03:27 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 16 Jun 2017 03:27:36 +0000 (03:27 +0000)
commitff94b5e7fe537029dd2a96c48198b1bcb27b0958
tree278a9dec9420d6619eee64a279ddcbbc77eaa2e6
parentd9557ee91ddf70e12584f190efb1f1a647f228b7
[ubsan] PR33081: Skip the standard type checks for volatile

Skip checks for null dereference, alignment violation, object size
violation, and dynamic type violation if the pointer points to volatile
data.

Differential Revision: https://reviews.llvm.org/D34262

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305546 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
test/CodeGen/ubsan-volatile.c [new file with mode: 0644]