Added some comments to clarify where "init_lldb" comes from.

llvm-svn: 107801
This commit is contained in:
Greg Clayton 2010-07-07 18:40:03 +00:00
parent 2d4d01d0de
commit a624358728
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,8 @@
#include "lldb/Core/Debugger.h"
#include "lldb/Target/Process.h"
// This function is in the C++ output file generated by SWIG after it is
// run on all of the headers in "lldb/API/SB*.h"
extern "C" void init_lldb (void);
using namespace lldb;
@ -183,6 +185,8 @@ ScriptInterpreterPython::ScriptInterpreterPython (CommandInterpreter &interprete
m_compiled_module = static_cast<void*>(compiled_module);
// This function is in the C++ output file generated by SWIG after it is
// run on all of the headers in "lldb/API/SB*.h"
init_lldb ();
// Update the path python uses to search for modules to include the current directory.