llvm-project/llvm/lib/ExecutionEngine/MCJIT
Lang Hames 942cb7b3f8 [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
2018-08-15 20:11:21 +00:00
..
CMakeLists.txt
LLVMBuild.txt
MCJIT.cpp [MCJIT] Fix a case of Error::success() being passed to report_fatal_error. 2018-08-15 20:11:21 +00:00
MCJIT.h Rename ObjectMemoryBuffer to SmallVectorMemoryBuffer; NFCI 2018-04-16 03:44:03 +00:00