Make the Expression Execution result enum available to the SB API layer.

Add a callback that will allow an expression to be cancelled between the
expression evaluation stages (for the ClangUserExpressions.)

<rdar://problem/16790467>, <rdar://problem/16573440>

llvm-svn: 207944
This commit is contained in:
Jim Ingham
2014-05-05 02:26:40 +00:00
parent e8a7afef86
commit 1624a2d3c8
30 changed files with 224 additions and 105 deletions

View File

@@ -149,6 +149,12 @@ SBExpressionOptions::SetTrapExceptions (bool trap_exceptions)
m_opaque_ap->SetTrapExceptions (trap_exceptions);
}
void
SBExpressionOptions::SetCancelCallback (lldb::ExpressionCancelCallback callback, void *baton)
{
m_opaque_ap->SetCancelCallback (callback, baton);
}
EvaluateExpressionOptions *
SBExpressionOptions::get() const
{