Path: blob/main/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
213893 views
//===-- ScriptInterpreterPythonInterfaces.cpp -----------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "lldb/Core/PluginManager.h"9#include "lldb/Host/Config.h"10#include "lldb/lldb-enumerations.h"1112#if LLDB_ENABLE_PYTHON1314#include "ScriptInterpreterPythonInterfaces.h"1516using namespace lldb;17using namespace lldb_private;1819LLDB_PLUGIN_DEFINE(ScriptInterpreterPythonInterfaces)2021llvm::StringRef22ScriptInterpreterPythonInterfaces::GetPluginDescriptionStatic() {23return "Script Interpreter Python Interfaces";24}2526void ScriptInterpreterPythonInterfaces::Initialize() {27OperatingSystemPythonInterface::Initialize();28ScriptedPlatformPythonInterface::Initialize();29ScriptedProcessPythonInterface::Initialize();30ScriptedStopHookPythonInterface::Initialize();31ScriptedThreadPlanPythonInterface::Initialize();32}3334void ScriptInterpreterPythonInterfaces::Terminate() {35OperatingSystemPythonInterface::Terminate();36ScriptedPlatformPythonInterface::Terminate();37ScriptedProcessPythonInterface::Terminate();38ScriptedStopHookPythonInterface::Terminate();39ScriptedThreadPlanPythonInterface::Terminate();40}4142#endif434445