aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2016-11-30 17:57:18 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2016-11-30 17:57:18 +0000
commit30ed5467a476e5f09efaf1a11f1d971f05f18adf (patch)
treef6fd93b34230a446c83355a8f9cfc4902f0521a2 /llvm/unittests/Support/ErrorTest.cpp
parenta3fe70d233b94c906c606dfbb9cf1cb95d4a33a8 (diff)
downloadllvm-30ed5467a476e5f09efaf1a11f1d971f05f18adf.zip
llvm-30ed5467a476e5f09efaf1a11f1d971f05f18adf.tar.gz
llvm-30ed5467a476e5f09efaf1a11f1d971f05f18adf.tar.bz2
[analyzer] Minor fixes and improvements to debug.ExprInspection
- Fix the bug with transition handling in ExprInspectionChecker's checkDeadSymbols implementation. - Test this bug by adding a new function clang_analyzer_numTimesReached() to catch number of passes through the code, which should be handy for testing against unintended state splits. - Add two more functions should help debugging issues quickly without running the debugger or dumping exploded graphs - clang_analyzer_dump() which dump()s an SVal argument to a warning message, and clang_analyzer_printState(), which dump()s the current program state to stderr. Differential Revision: https://reviews.llvm.org/D26835 llvm-svn: 288257
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions