Go to file
Vedant Kumar 3db9974b2d [ubsan] Sanity-check shift amounts before truncation (fixes PR27271)
Ubsan does not report UB shifts in some cases where the shift exponent
needs to be truncated to match the type of the shift base. We perform a
range check on the truncated shift amount, leading to false negatives.

Fix the issue (PR27271) by performing the range check on the original
shift amount.

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

llvm-svn: 293343
2017-01-27 23:02:44 +00:00
clang [ubsan] Sanity-check shift amounts before truncation (fixes PR27271) 2017-01-27 23:02:44 +00:00
clang-tools-extra Revert "Implement a new clang-tidy check that suggests users replace dynamic exception specifications with noexcept exception specifications." 2017-01-27 07:19:22 +00:00
compiler-rt Stop intercepting some malloc-related functions on FreeBSD and macOS 2017-01-27 22:19:11 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Add logb builtin 2017-01-18 03:14:10 +00:00
libcxx Disable thread safety analysis for some functions in __thread_support 2017-01-26 18:37:18 +00:00
libcxxabi Fix ASAN failure in cxa_demangle 2017-01-27 20:32:16 +00:00
libunwind Revert "DWARF: convert error logs to _LIBUNWIND_LOG" 2017-01-27 02:26:52 +00:00
lld Revert commits r293276 and r293278. 2017-01-27 18:39:30 +00:00
lldb NFC: Improve comments in SymbolFilePDB.cpp 2017-01-27 21:42:28 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Analysis: Add appropriate const qualification to functions in TypeMetadataUtils.cpp. NFC. 2017-01-27 22:55:30 +00:00
openmp Cleanup: put i_maxmin members and ___kmp_size_type into traits_t 2017-01-27 18:09:22 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Support] Add general isl tools for DeLICM. NFC. 2017-01-27 22:51:36 +00:00