diff options
Diffstat (limited to 'lldb/source/Expression/FunctionCaller.cpp')
-rw-r--r-- | lldb/source/Expression/FunctionCaller.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Expression/FunctionCaller.cpp b/lldb/source/Expression/FunctionCaller.cpp index 622d8017536..9742ed0b270 100644 --- a/lldb/source/Expression/FunctionCaller.cpp +++ b/lldb/source/Expression/FunctionCaller.cpp @@ -91,8 +91,12 @@ bool FunctionCaller::WriteFunctionWrapper( m_jit_start_addr, m_jit_end_addr, m_execution_unit_sp, exe_ctx, can_interpret, eExecutionPolicyAlways)); - if (!jit_error.Success()) + if (!jit_error.Success()) { + diagnostic_manager.Printf(eDiagnosticSeverityError, + "Error in PrepareForExecution: %s.", + jit_error.AsCString()); return false; + } if (m_parser->GetGenerateDebugInfo()) { lldb::ModuleSP jit_module_sp(m_execution_unit_sp->GetJITModule()); |