]> granicus.if.org Git - clang/commit
Classify the INT_MIN/-1 check as -fsanitize=signed-integer-overflow, not as -fsanitiz...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 Nov 2012 02:30:30 +0000 (02:30 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 Nov 2012 02:30:30 +0000 (02:30 +0000)
commitc54e25f9450d927dcd41270639523c1b4c0d5868
treec6db1b9a7e9b51da3fa7c7d023216774d0e3b202
parentfc1b1bbb5bef02a48a131da72567e3ab869f9db3
Classify the INT_MIN/-1 check as -fsanitize=signed-integer-overflow, not as -fsanitize=divide-by-zero.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167433 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/catch-undef-behavior.c