|
LLDB mainline
|
#include "lldb-python.h"#include "Interfaces/ScriptInterpreterPythonInterfaces.h"#include "PythonDataObjects.h"#include "PythonReadline.h"#include "SWIGPythonBridge.h"#include "ScriptInterpreterPythonImpl.h"#include "lldb/API/SBError.h"#include "lldb/API/SBExecutionContext.h"#include "lldb/API/SBFrame.h"#include "lldb/API/SBValue.h"#include "lldb/Breakpoint/StoppointCallbackContext.h"#include "lldb/Breakpoint/WatchpointOptions.h"#include "lldb/Core/Debugger.h"#include "lldb/Core/PluginManager.h"#include "lldb/Core/ThreadedCommunication.h"#include "lldb/DataFormatters/TypeSummary.h"#include "lldb/Host/FileSystem.h"#include "lldb/Host/HostInfo.h"#include "lldb/Host/Pipe.h"#include "lldb/Host/StreamFile.h"#include "lldb/Interpreter/CommandInterpreter.h"#include "lldb/Interpreter/CommandReturnObject.h"#include "lldb/Target/Thread.h"#include "lldb/Target/ThreadPlan.h"#include "lldb/Utility/Instrumentation.h"#include "lldb/Utility/LLDBLog.h"#include "lldb/Utility/Timer.h"#include "lldb/ValueObject/ValueObject.h"#include "lldb/lldb-enumerations.h"#include "lldb/lldb-forward.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/StringRef.h"#include "llvm/Support/Error.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/FormatAdapters.h"#include <cstdio>#include <cstdlib>#include <memory>#include <mutex>#include <optional>#include <string>Go to the source code of this file.
Macros | |
| #define | LLDBSwigPyInit PyInit__lldb |
| #define | LLDB_USE_PYTHON_SET_INTERRUPT 1 |
Functions | |
| PyObject * | PyInit__lldb (void) |
| static ScriptInterpreterPythonImpl * | GetPythonInterpreter (Debugger &debugger) |
| static std::string | GenerateUniqueName (const char *base_name_wanted, uint32_t &functions_counter, const void *name_token=nullptr) |
| uint64_t | replace_all (std::string &str, const std::string &oldStr, const std::string &newStr) |
Variables | |
| static const char | GetInterpreterInfoScript [] |
| static const char | python_exe_relative_path [] = LLDB_PYTHON_EXE_RELATIVE_PATH |
| #define LLDB_USE_PYTHON_SET_INTERRUPT 1 |
Definition at line 71 of file ScriptInterpreterPython.cpp.
| #define LLDBSwigPyInit PyInit__lldb |
Definition at line 65 of file ScriptInterpreterPython.cpp.
|
static |
Definition at line 729 of file ScriptInterpreterPython.cpp.
|
static |
Definition at line 74 of file ScriptInterpreterPython.cpp.
References lldb::eScriptLanguagePython, and lldb_private::Debugger::GetScriptInterpreter().
| PyObject * PyInit__lldb | ( | void | ) |
References PyInit__lldb().
Referenced by PyInit__lldb().
| uint64_t replace_all | ( | std::string & | str, |
| const std::string & | oldStr, | ||
| const std::string & | newStr ) |
Definition at line 2209 of file ScriptInterpreterPython.cpp.
References error().
|
static |
Definition at line 231 of file ScriptInterpreterPython.cpp.
Referenced by lldb_private::ScriptInterpreterPython::GetInterpreterInfo().
|
static |
Definition at line 245 of file ScriptInterpreterPython.cpp.
Referenced by lldb_private::ScriptInterpreterPython::GetInterpreterInfo().