Patch Enrico's changes from r150558 on 2012-02-14 to build even if Python
is not available (LLDB_DISABLE_PYTHON is defined). Change build-swig-Python.sh to emit an empty LLDBPythonWrap.cpp file if this build is LLDB_DISABLE_PYTHON. Change the "Copy to Xcode.app" shell script phase in the lldb.xcodeproj to only do this copying for Mac native builds. llvm-svn: 151035
This commit is contained in:
@@ -979,7 +979,8 @@ SBFrame::EvaluateExpression (const char *expr, lldb::DynamicValueType fetch_dyna
|
||||
expr_result.SetSP(expr_value_sp);
|
||||
Host::SetCrashDescription (NULL);
|
||||
}
|
||||
|
||||
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
if (expr_log)
|
||||
expr_log->Printf("** [SBFrame::EvaluateExpression] Expression result is %s, summary %s **",
|
||||
expr_result.GetValue(),
|
||||
@@ -991,6 +992,7 @@ SBFrame::EvaluateExpression (const char *expr, lldb::DynamicValueType fetch_dyna
|
||||
expr,
|
||||
expr_value_sp.get(),
|
||||
exe_results);
|
||||
#endif
|
||||
|
||||
return expr_result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user