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
Showing
- docs/UsersManual.rst 1 addition, 3 deletionsdocs/UsersManual.rst
- include/clang/Basic/Sanitizers.def 1 addition, 3 deletionsinclude/clang/Basic/Sanitizers.def
- lib/CodeGen/CGExprScalar.cpp 28 additions, 32 deletionslib/CodeGen/CGExprScalar.cpp
- test/CodeGen/catch-undef-behavior.c 9 additions, 6 deletionstest/CodeGen/catch-undef-behavior.c
- test/CodeGenCXX/catch-undef-behavior.cpp 6 additions, 4 deletionstest/CodeGenCXX/catch-undef-behavior.cpp
- test/CodeGenCXX/catch-undef-behavior2.cpp 1 addition, 1 deletiontest/CodeGenCXX/catch-undef-behavior2.cpp
- test/Driver/fsanitize.c 8 additions, 11 deletionstest/Driver/fsanitize.c
Loading
Please register or sign in to comment