diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2012-08-18 04:14:54 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2012-08-18 04:14:54 +0000 |
| commit | 2c90e999aaee69316348e9b9d9a1765e3bcc99df (patch) | |
| tree | 5d039b715b92135c76766d16ea0950deb0a422c0 /lldb/source/Expression/ClangUserExpression.cpp | |
| parent | 2cb14a5c4b4fe3b6d5980c6b21d31c8c008f96e4 (diff) | |
| download | bcm5719-llvm-2c90e999aaee69316348e9b9d9a1765e3bcc99df.tar.gz bcm5719-llvm-2c90e999aaee69316348e9b9d9a1765e3bcc99df.zip | |
Merge python-GIL bracnh (by filcab) back into trunk!
llvm-svn: 162161
Diffstat (limited to 'lldb/source/Expression/ClangUserExpression.cpp')
| -rw-r--r-- | lldb/source/Expression/ClangUserExpression.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangUserExpression.cpp b/lldb/source/Expression/ClangUserExpression.cpp index b1bef73415d..53ca32d949a 100644 --- a/lldb/source/Expression/ClangUserExpression.cpp +++ b/lldb/source/Expression/ClangUserExpression.cpp @@ -556,8 +556,10 @@ ClangUserExpression::Execute (Stream &error_stream, lldb::addr_t object_ptr = 0; lldb::addr_t cmd_ptr = 0; - if (!PrepareToExecuteJITExpression (error_stream, exe_ctx, struct_address, object_ptr, cmd_ptr)) + if (!PrepareToExecuteJITExpression (error_stream, exe_ctx, struct_address, object_ptr, cmd_ptr)) { + error_stream.Printf("Errored out in %s, couldn't PrepareToExecuteJITExpression", __FUNCTION__); return eExecutionSetupError; + } const bool stop_others = true; const bool try_all_threads = true; @@ -630,6 +632,7 @@ ClangUserExpression::Execute (Stream &error_stream, if (FinalizeJITExecution (error_stream, exe_ctx, result, function_stack_pointer)) return eExecutionCompleted; else + error_stream.Printf("Errored out in %s: Couldn't FinalizeJITExpression", __FUNCTION__); return eExecutionSetupError; } else |

