diff options
author | Lang Hames <lhames@gmail.com> | 2018-08-15 20:11:21 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-08-15 20:11:21 +0000 |
commit | 942cb7b3f8ea12a26f28be3d647b8c789a10a002 (patch) | |
tree | a502090e18e9b8f49d40907ebe6c1670e04b797b /lldb/packages/Python/lldbsuite/test | |
parent | 6a691a0b7ccfa05b983e4e85e223ccfdbec2efbb (diff) | |
download | bcm5719-llvm-942cb7b3f8ea12a26f28be3d647b8c789a10a002.tar.gz bcm5719-llvm-942cb7b3f8ea12a26f28be3d647b8c789a10a002.zip |
[MCJIT] Fix a case of Error::success() being passed to report_fatal_error.
MCJIT::getSymbolAddress was handling a non-fatal error condition of JITSymbol
as fatal. JITSymbol::operator bool returns false if no address is available
but no error is set. This can occur e.g. if the symbol name was not found.
Patch by Jascha Wetzel. Thanks Jascha!
llvm-svn: 339809
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions