mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Fixed some SWIG interoperability issues
llvm-svn: 138154
This commit is contained in:
1 parent
38d813087e
commit
274fd6e965
6 files changed
+40
-19
No files matched your search
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "lldb/API/SBFrame.h"
|
||||
#include "lldb/API/SBBreakpointLocation.h"
|
||||
#include "lldb/API/SBCommandReturnObject.h"
|
||||
#include "lldb/Breakpoint/StoppointCallbackContext.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
@@ -1930,7 +1931,7 @@ ScriptInterpreterPython::RunScriptBasedCommand(const char* impl_function,
|
||||
}
|
||||
|
||||
ScriptInterpreterPython *python_interpreter = this;
|
||||
|
||||
|
||||
lldb::DebuggerSP debugger_sp = m_interpreter.GetDebugger().GetSP();
|
||||
|
||||
bool ret_val;
|
||||
@@ -1946,7 +1947,7 @@ ScriptInterpreterPython::RunScriptBasedCommand(const char* impl_function,
|
||||
debugger_sp,
|
||||
args,
|
||||
err_msg,
|
||||
(void*)&cmd_retobj);
|
||||
cmd_retobj);
|
||||
python_interpreter->LeaveSession ();
|
||||
}
|
||||
else
|
||||
@@ -1960,7 +1961,7 @@ ScriptInterpreterPython::RunScriptBasedCommand(const char* impl_function,
|
||||
debugger_sp,
|
||||
args,
|
||||
err_msg,
|
||||
(void*)&cmd_retobj);
|
||||
cmd_retobj);
|
||||
python_interpreter->LeaveSession ();
|
||||
ReleasePythonLock ();
|
||||
}
|
||||
@@ -1969,7 +1970,7 @@ ScriptInterpreterPython::RunScriptBasedCommand(const char* impl_function,
|
||||
error.SetErrorString(err_msg.c_str());
|
||||
else
|
||||
error.Clear();
|
||||
|
||||
|
||||
return ret_val;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user