summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2018-10-25 23:38:07 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2018-10-25 23:38:07 +0000
commit3c2ed8f3386eebae956267998c2d9aaec9105181 (patch)
tree267893d5d34bec7e9ddb5247e277c6988ccb64a2 /lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py
parentf0923f16f88519a8eed863c93bbf5086e4420a3a (diff)
downloadbcm5719-llvm-3c2ed8f3386eebae956267998c2d9aaec9105181.tar.gz
bcm5719-llvm-3c2ed8f3386eebae956267998c2d9aaec9105181.zip
[analyzer] Correct modelling of OSDynamicCast: eagerly state split
Previously, OSDynamicCast was modeled as an identity. This is not correct: the output of OSDynamicCast may be zero even if the input was not zero (if the class is not of desired type), and thus the modeling led to false positives. Instead, we are doing eager state split: in one branch, the returned value is identical to the input parameter, and in the other branch, the returned value is zero. This patch required a substantial refactoring of canEval infrastructure, as now it can return different function summaries, and not just true/false. rdar://45497400 Differential Revision: https://reviews.llvm.org/D53624 llvm-svn: 345338
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud