Go to file
Artem Dergachev 05220a900c [analyzer] Don't try to simplify mixed Loc/NonLoc expressions.
This fix is similar to r337769 and addresses a regression caused by r337167.

When an operation between a nonloc::LocAsInteger and a non-pointer symbol
is performed, the LocAsInteger-specific part of information is lost.
When the non-pointer symbol is collapsing into a constant, we cannot easily
re-evaluate the result, because we need to recover the missing
LocAsInteger-specific information (eg., integer type, or the very fact that
this pointer was at some point converted to an integer).

Add one more defensive check to prevent crashes on trying to simplify a
SymSymExpr with different Loc-ness of operands.

Differential Revision: 

llvm-svn: 338420
2018-07-31 19:26:34 +00:00
clang [analyzer] Don't try to simplify mixed Loc/NonLoc expressions. 2018-07-31 19:26:34 +00:00
clang-tools-extra [clang-tidy] add all clang-tidy modules to plugin 2018-07-31 15:23:49 +00:00
compiler-rt [XRay][compiler-rt] Update test to use similar structure 2018-07-31 04:47:37 +00:00
debuginfo-tests [debuginfo-tests] tweak new test to be compatible with wider range of compilers. 2018-07-31 13:19:01 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx import timespec and timespec_get into namespace std if we're under c++17 or later AND the underlying C library has them. Fixes PR#38220, but doesn't implement all of P0063 yet. 2018-07-31 19:25:00 +00:00
libcxxabi [demangler] Fix an oss-fuzz bug from r338138 2018-07-28 04:06:30 +00:00
libunwind [CMake] Include CMakeDependentOption in libunwind 2018-07-24 23:42:51 +00:00
lld Simplify. NFC. 2018-07-31 18:13:36 +00:00
lldb Remove Stream::UnitTest 2018-07-31 01:21:36 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm AMDGPU: Split wide vectors of i16/f16 into 32-bit regs on calls 2018-07-31 19:17:47 +00:00
openmp [OpenMP] Fix tasking + parallel bug 2018-07-30 21:47:56 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [test] Remove non-JSPON comments in JSCOP file. NFC. 2018-07-28 01:11:45 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.