summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-08-23 20:37:31 +0000
committerLang Hames <lhames@gmail.com>2019-08-23 20:37:31 +0000
commite00585c77ca63928794e730ac38194c659819db4 (patch)
tree79d9c53bbd87cc8138f598a24f369ecb0f158dbf /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
parenta47d622240b199d6ab8736d83e1e3de44556f4a1 (diff)
downloadbcm5719-llvm-e00585c77ca63928794e730ac38194c659819db4.tar.gz
bcm5719-llvm-e00585c77ca63928794e730ac38194c659819db4.zip
[ORC] Fix a FIXME: Propagate errors to dependencies.
When symbols are failed (via MaterializationResponsibility::failMaterialization) any symbols depending on them will now be moved to an error state. Attempting to resolve or emit a symbol in the error state (via the notifyResolved or notifyEmitted methods on MaterializationResponsibility) will result in an error. If notifyResolved or notifyEmitted return an error due to failure of a dependence then the caller should log or discard the error and call failMaterialization to propagate the failure to any queries waiting on the symbols being resolved/emitted (plus their dependencies). llvm-svn: 369808
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud