]> granicus.if.org Git - clang/commit
[ubsan] Mark overflow checks with !nosanitize
authorVedant Kumar <vsk@apple.com>
Tue, 9 May 2017 23:34:49 +0000 (23:34 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 9 May 2017 23:34:49 +0000 (23:34 +0000)
commitd9b4d2283a86ba0ed2a768f3d012ba4ee1859eab
treee263609435d527264163d9961d4076d98dc7884d
parentdc3427730894f036d18da71faee4ae820a1dca04
[ubsan] Mark overflow checks with !nosanitize

Sanitizer instrumentation generally needs to be marked with !nosanitize,
but we're not doing this properly for ubsan's overflow checks.

r213291 has more information about why this is needed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302598 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/sanitize-recover.c