diff options
author | Lang Hames <lhames@gmail.com> | 2019-08-23 20:37:31 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2019-08-23 20:37:31 +0000 |
commit | e00585c77ca63928794e730ac38194c659819db4 (patch) | |
tree | 79d9c53bbd87cc8138f598a24f369ecb0f158dbf /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py | |
parent | a47d622240b199d6ab8736d83e1e3de44556f4a1 (diff) | |
download | bcm5719-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