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 ScriptedThreadPlanPythonInterface::Initialize();
32}
33
34void ScriptInterpreterPythonInterfaces::Terminate() {
35 OperatingSystemPythonInterface::Terminate();
36 ScriptedPlatformPythonInterface::Terminate();
37 ScriptedProcessPythonInterface::Terminate();
38 ScriptedThreadPlanPythonInterface::Terminate();
39}
40
41#endif
#define LLDB_PLUGIN_DEFINE(PluginName)
Definition: PluginManager.h:32
A class that represents a running process on the host machine.
Definition: SBAddress.h:15