]> granicus.if.org Git - clang/commit
Revert "[UBSan] Split -fsanitize=shift into -fsanitize=shift-base and -fsanitize...
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 5 Mar 2015 21:57:35 +0000 (21:57 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 5 Mar 2015 21:57:35 +0000 (21:57 +0000)
commit51414f9ea6be6e1717171038bf4cbab95e86d2d9
tree3e09ba75d3635f3697d1a7dd7b7a0cb2bec63467
parent3e4efc6fca21c12eb110ac8345855b4e51fc778d
Revert "[UBSan] Split -fsanitize=shift into -fsanitize=shift-base and -fsanitize=shift-exponent."

It's not that easy. If we're only checking -fsanitize=shift-base we
still need to verify that exponent has sane value, otherwise
UBSan-inserted checks for base will contain undefined behavior
themselves.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231409 91177308-0d34-0410-b5e6-96231b3b80d8
docs/UsersManual.rst
include/clang/Basic/Sanitizers.def
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/catch-undef-behavior.c
test/CodeGenCXX/catch-undef-behavior.cpp
test/CodeGenCXX/catch-undef-behavior2.cpp
test/Driver/fsanitize.c