Go to the documentation of this file.
23 "Parent for per-plugin structured data commands",
24 "plugin structured-data <plugin>") {}
26 ~CommandStructuredData()
override =
default;
30 StructuredDataPlugin::StructuredDataPlugin(
const ProcessWP &process_wp)
48 if (!interpreter.GetCommandObject(
"plugin structured-data")) {
56 auto command_name =
"structured-data";
57 auto command_sp = CommandObjectSP(
new CommandStructuredData(interpreter));
60 parent_command->LoadSubCommand(command_name, command_sp);
lldb::ProcessWP m_process_wp
CommandInterpreter & GetCommandInterpreter()
static void InitializeBasePluginForDebugger(Debugger &debugger)
Derived classes must call this before attempting to hook up commands to the 'plugin structured-data' ...
CommandObject * GetCommandObject(llvm::StringRef cmd, StringList *matches=nullptr, StringList *descriptions=nullptr) const
~StructuredDataPlugin() override
lldb::ProcessSP GetProcess() const
A class that represents a running process on the host machine.
virtual bool GetEnabled(ConstString type_name) const
Returns whether the plugin's features are enabled.
virtual void ModulesDidLoad(Process &process, ModuleList &module_list)
Allow the plugin to do work related to modules that loaded in the the corresponding process.