aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorIvan Butygin <ivan.butygin@gmail.com>2024-08-22 12:16:03 +0300
committerGitHub <noreply@github.com>2024-08-22 12:16:03 +0300
commit15e915a44f0d0bf092214586d3ec86e2bb7636d7 (patch)
treecb3a951bc2c284cc6776ec2c5a9b12f0a5677825 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parent14c7e4a1844904f3db9b2dc93b722925a8c66b27 (diff)
downloadllvm-15e915a44f0d0bf092214586d3ec86e2bb7636d7.zip
llvm-15e915a44f0d0bf092214586d3ec86e2bb7636d7.tar.gz
llvm-15e915a44f0d0bf092214586d3ec86e2bb7636d7.tar.bz2
[mlir][dataflow] Propagate errors from `visitOperation` (#105448)
Base `DataFlowAnalysis::visit` returns `LogicalResult`, but wrappers's Sparse/Dense/Forward/Backward `visitOperation` doesn't. Sometimes it's needed to abort solver early if some unrecoverable condition detected inside analysis. Update `visitOperation` to return `LogicalResult` and propagate it to `solver.initializeAndRun()`. Only `visitOperation` is updated for now, it's possible to update other hooks like `visitNonControlFlowArguments`, bit it's not needed immediately and let's keep this PR small. Hijacked `UnderlyingValueAnalysis` test analysis to test it.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions