summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-09-08 14:08:01 +0000
committerTobias Grosser <tobias@grosser.es>2016-09-08 14:08:01 +0000
commitadfc971820733e0e9b9143d46558197c52abb831 (patch)
tree41636c6fa8b59e398c1e912e03ec9bf8bc68d2b5 /lldb/packages/Python/lldbsuite/test/functionalities
parent042a3f209b969b8854184a1c827e4216f2715e51 (diff)
downloadbcm5719-llvm-adfc971820733e0e9b9143d46558197c52abb831.tar.gz
bcm5719-llvm-adfc971820733e0e9b9143d46558197c52abb831.zip
DependenceInfo: Make clear that no double-free problem exists
When running the clang static analyser to check for memory issues, this code originally showed a double free, as the analyser was unable to understand that isl_union_map_free always returns NULL and consequently later uses of the isl object we just freed will never be reached. Without this knowledge, the analyser has to issue a warning. We refactor the code to make it clear that for empty maps the current loop iteration is aborted. llvm-svn: 280938
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud