TargetParser: AArch64: Add part numbers for Apple CPUs.
[llvm-project.git] / lldb / source / Plugins / ScriptInterpreter / None / ScriptInterpreterNone.h
blob6d3ff251e36280132cdcf61003d35344d8f1aa9d
1 //===-- ScriptInterpreterNone.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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H
10 #define LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H
12 #include "lldb/Interpreter/ScriptInterpreter.h"
14 namespace lldb_private {
16 class ScriptInterpreterNone : public ScriptInterpreter {
17 public:
18 ScriptInterpreterNone(Debugger &debugger);
20 ~ScriptInterpreterNone() override;
22 bool ExecuteOneLine(
23 llvm::StringRef command, CommandReturnObject *result,
24 const ExecuteScriptOptions &options = ExecuteScriptOptions()) override;
26 void ExecuteInterpreterLoop() override;
28 // Static Functions
29 static void Initialize();
31 static void Terminate();
33 static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger);
35 static llvm::StringRef GetPluginNameStatic() { return "script-none"; }
37 static llvm::StringRef GetPluginDescriptionStatic();
39 // PluginInterface protocol
40 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
43 } // namespace lldb_private
45 #endif // LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H