aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorVince Bridgers <vince.a.bridgers@gmail.com>2022-04-08 06:17:14 -0500
committereinvbri <vince.a.bridgers@ericsson.com>2022-04-24 03:51:49 -0500
commit3566bbe62f2ef2bf1b736d04a9d6b3c669a66297 (patch)
treef3be84410c963649452a9b6df6a64caa8a95800b /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent7a21a0525a696f17e6d6915c7515a30c0bda259a (diff)
downloadllvm-3566bbe62f2ef2bf1b736d04a9d6b3c669a66297.zip
llvm-3566bbe62f2ef2bf1b736d04a9d6b3c669a66297.tar.gz
llvm-3566bbe62f2ef2bf1b736d04a9d6b3c669a66297.tar.bz2
[analyzer] Add option for AddrSpace in core.NullDereference check
This change adds an option to detect all null dereferences for non-default address spaces, except for address spaces 256, 257 and 258. Those address spaces are special since null dereferences are not errors. All address spaces can be considered (except for 256, 257, and 258) by using -analyzer-config core.NullDereference:DetectAllNullDereferences=true. This option is false by default, retaining the original behavior. A LIT test was enhanced to cover this case, and the rst documentation was updated to describe this behavior. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D122841
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions