LLDB mainline
ScriptInterpreterPythonInterfaces.cpp
Go to the documentation of this file.
1//===-- ScriptInterpreterPythonInterfaces.cpp -----------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10#include "lldb/Host/Config.h"
12
13#if LLDB_ENABLE_PYTHON
14
16
17using namespace lldb;
18using namespace lldb_private;
19
20LLDB_PLUGIN_DEFINE(ScriptInterpreterPythonInterfaces)
21
22llvm::StringRef
23ScriptInterpreterPythonInterfaces::GetPluginDescriptionStatic() {
24 return "Script Interpreter Python Interfaces";
25}
26
27void ScriptInterpreterPythonInterfaces::Initialize() {
28 OperatingSystemPythonInterface::Initialize();
29 ScriptedPlatformPythonInterface::Initialize();
30 ScriptedProcessPythonInterface::Initialize();
31 ScriptedStopHookPythonInterface::Initialize();
32 ScriptedBreakpointPythonInterface::Initialize();
33 ScriptedThreadPlanPythonInterface::Initialize();
34 ScriptedFrameProviderPythonInterface::Initialize();
35}
36
37void ScriptInterpreterPythonInterfaces::Terminate() {
38 OperatingSystemPythonInterface::Terminate();
39 ScriptedPlatformPythonInterface::Terminate();
40 ScriptedProcessPythonInterface::Terminate();
41 ScriptedStopHookPythonInterface::Terminate();
42 ScriptedBreakpointPythonInterface::Terminate();
43 ScriptedThreadPlanPythonInterface::Terminate();
44 ScriptedFrameProviderPythonInterface::Terminate();
45}
46
47#endif
#define LLDB_PLUGIN_DEFINE(PluginName)
A class that represents a running process on the host machine.