summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-01-04 23:14:16 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-01-04 23:14:16 +0000
commit1cf4541c4f3ae2f6eaadb6d7972cf8cc71118965 (patch)
treedf4d8e965429e869efc0446847b66f82039e72c3 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
parenta977582dead2c6696ff5e273efe84a3878bb6e61 (diff)
downloadbcm5719-llvm-1cf4541c4f3ae2f6eaadb6d7972cf8cc71118965.tar.gz
bcm5719-llvm-1cf4541c4f3ae2f6eaadb6d7972cf8cc71118965.zip
Bail out if we try to build a DeclRefExpr naming an invalid declaration.
Most code paths would already bail out in this case, but certain paths, particularly overload resolution and typo correction, would not. Carrying on with an invalid declaration could in some cases result in crashes due to downstream code relying on declaration invariants that are not necessarily met for invalid declarations, and in other cases just resulted in undesirable follow-on diagnostics. llvm-svn: 291030
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud