summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorBrendon Cahoon <bcahoon@codeaurora.org>2016-04-04 18:13:18 +0000
committerBrendon Cahoon <bcahoon@codeaurora.org>2016-04-04 18:13:18 +0000
commit86f783e31532767b05467e7c902ae4a029d2c68a (patch)
treebe59dd63f2ce0c79d24d25e1113878241bf4da4a /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent73900c6876ab794348e828312622bbdf536df8b4 (diff)
downloadbcm5719-llvm-86f783e31532767b05467e7c902ae4a029d2c68a.tar.gz
bcm5719-llvm-86f783e31532767b05467e7c902ae4a029d2c68a.zip
[DependenceAnalysis] Check if result of getConstantPart is null
A seg-fault occurs due to a reference of a null pointer, which is the value returned by getConstantPart. This function returns null if the constant part is not found. The code that calls this function needs to check for the null return value. Differential Revision: http://reviews.llvm.org/D18718 llvm-svn: 265319
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud