LLDB  mainline
ScriptInterpreterPython.h
Go to the documentation of this file.
1 //===-- ScriptInterpreterPython.h -------------------------------*- C++ -*-===//
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 
9 #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H
10 #define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H
11 
12 #ifdef LLDB_DISABLE_PYTHON
13 
14 // Python is disabled in this build
15 
16 #else
17 
19 #include "lldb/Core/IOHandler.h"
21 #include "lldb/lldb-private.h"
22 
23 #include <memory>
24 #include <string>
25 #include <vector>
26 
27 namespace lldb_private {
28 /// Abstract interface for the Python script interpreter.
31 public:
33  public:
36  }
37  };
38 
42 
43  static void Initialize();
44  static void Terminate();
46  static const char *GetPluginDescriptionStatic();
47  static FileSpec GetPythonDir();
48 
49 protected:
53 };
54 } // namespace lldb_private
55 
56 #endif // LLDB_DISABLE_PYTHON
57 #endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H
A class to manage flag bits.
Definition: Debugger.h:82
Enumerations for broadcasting.
Definition: SBLaunchInfo.h:14
A file utility class.
Definition: FileSpec.h:55
Abstract interface for the Python script interpreter.
static lldb_private::ConstString GetPluginNameStatic()
static void ComputePythonDirForApple(llvm::SmallVectorImpl< char > &path)
A uniqued constant string class.
Definition: ConstString.h:38
"lldb/Breakpoint/BreakpointOptions.h" Class that manages the options on a breakpoint or breakpoint lo...
Definition: SBAddress.h:15
static void ComputePythonDirForPosix(llvm::SmallVectorImpl< char > &path)
static void ComputePythonDirForWindows(llvm::SmallVectorImpl< char > &path)