diff options
author | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-08-28 21:15:21 +0000 |
---|---|---|
committer | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-08-28 21:15:21 +0000 |
commit | 18d77984fb4dd3bc710610e0fd457ddf1d64d225 (patch) | |
tree | a38e77357620aedae89336dcbd08f4f906d2a7d1 /llvm/tools/llvm-rc/ResourceScriptStmt.cpp | |
parent | e4dca92b4e492b1a40ae66958a64738d6bfc0fdc (diff) | |
download | bcm5719-llvm-18d77984fb4dd3bc710610e0fd457ddf1d64d225.tar.gz bcm5719-llvm-18d77984fb4dd3bc710610e0fd457ddf1d64d225.zip |
[analyzer] Fix crash in modeling arithmetic
This diff fixes modeling of arithmetic
expressions where pointers are treated as integers
(i.e. via C-style / reinterpret casts).
For now we return UnknownVal unless the operation is a comparison.
Test plan: make check-all
Differential revision: https://reviews.llvm.org/D37120
llvm-svn: 311935
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptStmt.cpp')
0 files changed, 0 insertions, 0 deletions