|
LLDB mainline
|
#include <SBDebugger.h>
Public Member Functions | |
| FLAGS_ANONYMOUS_ENUM () | |
| Broadcast bit definitions for the SBDebugger. | |
| SBDebugger () | |
| Default constructor creates an invalid SBDebugger instance. | |
| SBDebugger (const lldb::SBDebugger &rhs) | |
| ~SBDebugger () | |
| lldb::SBBroadcaster | GetBroadcaster () |
| Get the broadcaster that allows subscribing to events from this debugger. | |
| lldb::SBDebugger & | operator= (const lldb::SBDebugger &rhs) |
| Assignment operator. | |
| operator bool () const | |
| Check if this is a valid SBDebugger object. | |
| bool | IsValid () const |
| Check if this is a valid SBDebugger object. | |
| void | Clear () |
| Clear this debugger instance. | |
| lldb::SBStructuredData | GetSetting (const char *setting=nullptr) |
| Get debugger settings as structured data. | |
| void | SetAsync (bool b) |
| Set whether the debugger should run in asynchronous mode. | |
| bool | GetAsync () |
| Get whether the debugger is running in asynchronous mode. | |
| void | SkipLLDBInitFiles (bool b) |
| Set whether to skip loading .lldbinit files. | |
| void | SkipAppInitFiles (bool b) |
| Set whether to skip loading application-specific .lldbinit files. | |
| void | SetInputFileHandle (FILE *f, bool transfer_ownership) |
| Set the input file handle for the debugger. | |
| void | SetOutputFileHandle (FILE *f, bool transfer_ownership) |
| Set the output file handle for the debugger. | |
| void | SetErrorFileHandle (FILE *f, bool transfer_ownership) |
| Set the error file handle for the debugger. | |
| FILE * | GetInputFileHandle () |
| Get the input file handle for the debugger. | |
| FILE * | GetOutputFileHandle () |
| Get the output file handle for the debugger. | |
| FILE * | GetErrorFileHandle () |
| Get the error file handle for the debugger. | |
| SBError | SetInputString (const char *data) |
| Set the input from a string. | |
| SBError | SetInputFile (SBFile file) |
| Set the input file for the debugger. | |
| SBError | SetOutputFile (SBFile file) |
| Set the output file for the debugger. | |
| SBError | SetErrorFile (SBFile file) |
| Set the error file for the debugger. | |
| SBError | SetInputFile (FileSP file) |
| Set the input file for the debugger using a FileSP. | |
| SBError | SetOutputFile (FileSP file) |
| Set the output file for the debugger using a FileSP. | |
| SBError | SetErrorFile (FileSP file) |
| Set the error file for the debugger using a FileSP. | |
| SBFile | GetInputFile () |
| Get the input file for the debugger. | |
| SBFile | GetOutputFile () |
| Get the output file for the debugger. | |
| SBFile | GetErrorFile () |
| Get the error file for the debugger. | |
| void | SaveInputTerminalState () |
| Save the current terminal state. | |
| void | RestoreInputTerminalState () |
| Restore the previously saved terminal state. | |
| lldb::SBCommandInterpreter | GetCommandInterpreter () |
| Get the command interpreter for this debugger. | |
| void | HandleCommand (const char *command) |
| Execute a command in the command interpreter. | |
| void | RequestInterrupt () |
| Request an interrupt of the current operation. | |
| void | CancelInterruptRequest () |
| Cancel a previously requested interrupt. | |
| bool | InterruptRequested () |
| Check if an interrupt has been requested. | |
| lldb::SBListener | GetListener () |
| Get the listener associated with this debugger. | |
| void | HandleProcessEvent (const lldb::SBProcess &process, const lldb::SBEvent &event, FileSP out, FileSP err) |
| Handle a process event using FileSP objects. | |
| lldb::SBTarget | CreateTarget (const char *filename, const char *target_triple, const char *platform_name, bool add_dependent_modules, lldb::SBError &error) |
| Create a target with the specified parameters. | |
| lldb::SBTarget | CreateTargetWithFileAndTargetTriple (const char *filename, const char *target_triple) |
| Create a target with the specified file and target triple. | |
| lldb::SBTarget | CreateTargetWithFileAndArch (const char *filename, const char *archname) |
| Create a target with the specified file and architecture. | |
| lldb::SBTarget | CreateTarget (const char *filename) |
| Create a target with the specified file. | |
| lldb::SBTarget | GetDummyTarget () |
| Get the dummy target. | |
| void | DispatchClientTelemetry (const lldb::SBStructuredData &data) |
| Dispatch telemetry data from client to server. | |
| bool | DeleteTarget (lldb::SBTarget &target) |
| Delete a target from the debugger. | |
| lldb::SBTarget | GetTargetAtIndex (uint32_t idx) |
| Get a target by index. | |
| uint32_t | GetIndexOfTarget (lldb::SBTarget target) |
| Get the index of a target. | |
| lldb::SBTarget | FindTargetWithProcessID (lldb::pid_t pid) |
| Find a target with the specified process ID. | |
| lldb::SBTarget | FindTargetWithFileAndArch (const char *filename, const char *arch) |
| Find a target with the specified file and architecture. | |
| lldb::SBTarget | FindTargetByGloballyUniqueID (lldb::user_id_t id) const |
| Find a target with the specified unique ID. | |
| uint32_t | GetNumTargets () |
| Get the number of targets in the debugger. | |
| lldb::SBTarget | GetSelectedTarget () |
| Get the currently selected target. | |
| void | SetSelectedTarget (SBTarget &target) |
| Set the selected target. | |
| lldb::SBPlatform | GetSelectedPlatform () |
| Get the selected platform. | |
| void | SetSelectedPlatform (lldb::SBPlatform &platform) |
| Set the selected platform. | |
| uint32_t | GetNumPlatforms () |
| Get the number of currently active platforms. | |
| lldb::SBPlatform | GetPlatformAtIndex (uint32_t idx) |
| Get one of the currently active platforms. | |
| uint32_t | GetNumAvailablePlatforms () |
| Get the number of available platforms. | |
| lldb::SBStructuredData | GetAvailablePlatformInfoAtIndex (uint32_t idx) |
| Get information about the available platform at the given index as structured data. | |
| lldb::SBSourceManager | GetSourceManager () |
| Get the source manager for this debugger. | |
| lldb::SBError | SetCurrentPlatform (const char *platform_name) |
| Set the current platform by name. | |
| bool | SetCurrentPlatformSDKRoot (const char *sysroot) |
| Set the SDK root for the current platform. | |
| bool | SetUseExternalEditor (bool input) |
| Set whether to use an external editor. | |
| bool | GetUseExternalEditor () |
| Get whether an external editor is being used. | |
| bool | SetUseColor (bool use_color) |
| Set whether to use color in output. | |
| bool | GetUseColor () const |
| Get whether color is being used in output. | |
| bool | SetShowInlineDiagnostics (bool b) |
| Set whether to show inline diagnostics. | |
| bool | SetUseSourceCache (bool use_source_cache) |
| Set whether to use the source cache. | |
| bool | GetUseSourceCache () const |
| Get whether the source cache is being used. | |
| lldb::ScriptLanguage | GetScriptingLanguage (const char *script_language_name) |
| Get the scripting language by name. | |
| SBStructuredData | GetScriptInterpreterInfo (ScriptLanguage language) |
| Get information about a script interpreter as structured data. | |
| bool | EnableLog (const char *channel, const char **categories) |
| Enable logging for a specific channel and category. | |
| void | SetLoggingCallback (lldb::LogOutputCallback log_callback, void *baton) |
| Set a callback for log output. | |
| LLDB_DEPRECATED_FIXME("Use AddDestroyCallback and RemoveDestroyCallback", "AddDestroyCallback") void SetDestroyCallback(lldb lldb::callback_token_t | AddDestroyCallback (lldb::SBDebuggerDestroyCallback destroy_callback, void *baton) |
| Set a callback for when the debugger is destroyed (deprecated). | |
| bool | RemoveDestroyCallback (lldb::callback_token_t token) |
| Remove a destroy callback. | |
| LLDB_DEPRECATED_FIXME ("Use DispatchInput(const void *, size_t)", "DispatchInput(const void *, size_t)") void DispatchInput(void *baton | |
| Dispatch input to the debugger (deprecated). | |
| void | DispatchInput (const void *data, size_t data_len) |
| Dispatch input to the debugger. | |
| void | DispatchInputInterrupt () |
| Interrupt the current input dispatch. | |
| void | DispatchInputEndOfFile () |
| Signal end-of-file to the current input dispatch. | |
| void | PushInputReader (lldb::SBInputReader &reader) |
| Push an input reader onto the IO handler stack. | |
| const char * | GetInstanceName () |
| Get the instance name of this debugger. | |
| bool | GetDescription (lldb::SBStream &description) |
| Get a description of this debugger. | |
| uint32_t | GetTerminalWidth () const |
| Get the terminal width. | |
| LLDB_DEPRECATED_FIXME ("Use SetTerminalDimensions", "SetTerminalDimensions(uint32_t, uint32_t)") void SetTerminalWidth(uint32_t term_width) | |
| Set the terminal width. | |
| uint32_t | GetTerminalHeight () const |
| Get the terminal height. | |
| LLDB_DEPRECATED_FIXME ("Use SetTerminalDimensions", "SetTerminalDimensions(uint32_t, uint32_t)") void SetTerminalHeight(uint32_t term_height) | |
| Set the terminal height. | |
| void | SetTerminalDimensions (uint32_t term_width, uint32_t term_height) |
| Set the terminal width and height together. | |
| lldb::user_id_t | GetID () |
| Get the unique ID of this debugger. | |
| const char * | GetPrompt () const |
| Get the command prompt string. | |
| void | SetPrompt (const char *prompt) |
| Set the command prompt string. | |
| const char * | GetReproducerPath () const |
| Get the path to the reproducer. | |
| lldb::ScriptLanguage | GetScriptLanguage () const |
| Get the current scripting language. | |
| void | SetScriptLanguage (lldb::ScriptLanguage script_lang) |
| Set the current scripting language. | |
| lldb::LanguageType | GetREPLLanguage () const |
| Get the current REPL language. | |
| void | SetREPLLanguage (lldb::LanguageType repl_lang) |
| Set the current REPL language. | |
| bool | GetCloseInputOnEOF () const |
| Get whether to close input on EOF (deprecated). | |
| void | SetCloseInputOnEOF (bool b) |
| Set whether to close input on EOF (deprecated). | |
| SBTypeCategory | GetCategory (const char *category_name) |
| Get a type category by name. | |
| SBTypeCategory | GetCategory (lldb::LanguageType lang_type) |
| Get a type category by language. | |
| SBTypeCategory | CreateCategory (const char *category_name) |
| Create a new type category. | |
| bool | DeleteCategory (const char *category_name) |
| Delete a type category. | |
| uint32_t | GetNumCategories () |
| Get the number of type categories. | |
| SBTypeCategory | GetCategoryAtIndex (uint32_t index) |
| Get a type category by index. | |
| SBTypeCategory | GetDefaultCategory () |
| Get the default type category. | |
| SBTypeFormat | GetFormatForType (SBTypeNameSpecifier type_name_spec) |
| Get the format for a type. | |
| SBTypeSummary | GetSummaryForType (SBTypeNameSpecifier type_name_spec) |
| Get the summary for a type. | |
| SBTypeFilter | GetFilterForType (SBTypeNameSpecifier type_name_spec) |
| Get the filter for a type. | |
| SBTypeSynthetic | GetSyntheticForType (SBTypeNameSpecifier type_name_spec) |
| Get the synthetic for a type. | |
| void | ResetStatistics () |
| Clear collected statistics for targets belonging to this debugger. | |
| void | RunCommandInterpreter (bool auto_handle_events, bool spawn_thread) |
| Run the command interpreter. | |
| void | RunCommandInterpreter (bool auto_handle_events, bool spawn_thread, SBCommandInterpreterRunOptions &options, int &num_errors, bool &quit_requested, bool &stopped_for_crash) |
| Run the command interpreter with options. | |
| SBCommandInterpreterRunResult | RunCommandInterpreter (const SBCommandInterpreterRunOptions &options) |
| Run the command interpreter with options and return a result object. | |
| SBError | RunREPL (lldb::LanguageType language, const char *repl_options) |
| Run a REPL (Read-Eval-Print Loop) for the specified language. | |
| SBTrace | LoadTraceFromFile (SBError &error, const SBFileSpec &trace_description_file) |
| Load a trace from a trace description file. | |
Static Public Member Functions | |
| static const char * | GetBroadcasterClass () |
| Get the broadcaster class name. | |
| static bool | SupportsLanguage (lldb::LanguageType language) |
| Check if a specific language is supported by LLDB. | |
| static const char * | GetProgressFromEvent (const lldb::SBEvent &event, uint64_t &progress_id, uint64_t &completed, uint64_t &total, bool &is_debugger_specific) |
| Get progress data from a SBEvent whose type is eBroadcastBitProgress. | |
| static lldb::SBStructuredData | GetProgressDataFromEvent (const lldb::SBEvent &event) |
| Get progress data from an event. | |
| static lldb::SBStructuredData | GetDiagnosticFromEvent (const lldb::SBEvent &event) |
| Get diagnostic information from an event. | |
| static void | Initialize () |
| Initialize LLDB and its subsystems. | |
| static lldb::SBError | InitializeWithErrorHandling () |
| Initialize the LLDB debugger subsystem with error handling. | |
| static lldb::SBError | Initialize (const lldb::SBInitializationOptions &options) |
| InitializeWithErrorHandling() with options. | |
| static void | PrintStackTraceOnError () |
| Configure LLDB to print a stack trace when it crashes. | |
| static void | PrintDiagnosticsOnError () |
| Configure LLDB to print diagnostic information when it crashes. | |
| static void | Terminate () |
| Terminate LLDB and its subsystems. | |
| static lldb::SBDebugger | Create () |
| Create a new debugger instance (deprecated). | |
| static lldb::SBDebugger | Create (bool source_init_files) |
| Create a new debugger instance. | |
| static lldb::SBDebugger | Create (bool source_init_files, lldb::LogOutputCallback log_callback, void *baton) |
| Create a new debugger instance with a custom log handler and user data passed to the log callback. | |
| static void | Destroy (lldb::SBDebugger &debugger) |
| Destroy a debugger instance. | |
| static void | MemoryPressureDetected () |
| Notify the debugger that system memory pressure has been detected. | |
| static bool | GetDefaultArchitecture (char *arch_name, size_t arch_name_len) |
| Get the default architecture. | |
| static bool | SetDefaultArchitecture (const char *arch_name) |
| Set the default architecture. | |
| static const char * | GetVersionString () |
| Get the LLDB version string. | |
| static const char * | StateAsCString (lldb::StateType state) |
| Convert a state type to a string. | |
| static SBStructuredData | GetBuildConfiguration () |
| Get the build configuration as structured data. | |
| static bool | StateIsRunningState (lldb::StateType state) |
| Check if a state is a running state. | |
| static bool | StateIsStoppedState (lldb::StateType state) |
| Check if a state is a stopped state. | |
| static SBDebugger | FindDebuggerWithID (int id) |
| Find a debugger by ID. Returns an invalid debugger if not found. | |
| static lldb::SBError | SetInternalVariable (const char *var_name, const char *value, const char *debugger_instance_name) |
| Set an internal variable. | |
| static lldb::SBStringList | GetInternalVariableValue (const char *var_name, const char *debugger_instance_name) |
| Get the value of an internal variable. | |
Public Attributes | |
| LLDB_DEPRECATED_FIXME("Use HandleProcessEvent(const SBProcess &, const SBEvent &, SBFile, " "SBFile) or HandleProcessEvent(const SBProcess &, const SBEvent &, " "FileSP, FileSP)", "HandleProcessEvent(const SBProcess &, const SBEvent &, SBFile, SBFile)") void HandleProcessEvent(const lldb voi | HandleProcessEvent )(const lldb::SBProcess &process, const lldb::SBEvent &event, SBFile out, SBFile err) |
| Handle a process event (deprecated). | |
| const void * | data |
| const void size_t | data_len |
Protected Member Functions | |
| SBDebugger (const lldb::DebuggerSP &debugger_sp) | |
Private Member Functions | |
| lldb::SBTarget | FindTargetWithLLDBProcess (const lldb::ProcessSP &processSP) |
| void | reset (const lldb::DebuggerSP &debugger_sp) |
| lldb_private::Debugger * | get () const |
| lldb_private::Debugger & | ref () const |
| const lldb::DebuggerSP & | get_sp () const |
Private Attributes | |
| lldb::DebuggerSP | m_opaque_sp |
Friends | |
| class | lldb_private::CommandPluginInterfaceImplementation |
| class | lldb_private::python::SWIGBridge |
| class | lldb_private::ScriptInterpreterBridge |
| class | lldb_private::SystemInitializerFull |
| class | SBCommandInterpreter |
| class | SBInputReader |
| class | SBListener |
| class | SBProcess |
| class | SBSourceManager |
| class | SBStructuredData |
| class | SBPlatform |
| class | SBTarget |
| class | SBTrace |
| class | SBProgress |
Definition at line 45 of file SBDebugger.h.
| SBDebugger::SBDebugger | ( | ) |
Default constructor creates an invalid SBDebugger instance.
Definition at line 97 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by Create(), Create(), Create(), Destroy(), FindDebuggerWithID(), lldb_private::SystemInitializerFull, operator=(), SBDebugger(), and ~SBDebugger().
| SBDebugger::SBDebugger | ( | const lldb::SBDebugger & | rhs | ) |
Definition at line 104 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBDebugger().
|
default |
References CancelInterruptRequest(), Clear(), Create(), data, Destroy(), GetAsync(), GetBroadcaster(), GetBroadcasterClass(), GetCommandInterpreter(), GetDiagnosticFromEvent(), GetErrorFile(), GetErrorFileHandle(), GetInputFile(), GetInputFileHandle(), GetListener(), GetOutputFile(), GetOutputFileHandle(), GetProgressDataFromEvent(), GetProgressFromEvent(), GetSetting(), HandleCommand(), HandleProcessEvent, Initialize(), InitializeWithErrorHandling(), InterruptRequested(), IsValid(), MemoryPressureDetected(), operator=(), PrintDiagnosticsOnError(), PrintStackTraceOnError(), RequestInterrupt(), RestoreInputTerminalState(), SaveInputTerminalState(), SBDebugger(), SBProcess, SBStructuredData, SetAsync(), SetErrorFile(), SetErrorFileHandle(), SetInputFile(), SetInputFileHandle(), SetInputString(), SetOutputFile(), SetOutputFileHandle(), SkipAppInitFiles(), SkipLLDBInitFiles(), SupportsLanguage(), and Terminate().
|
protected |
Definition at line 99 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| lldb::callback_token_t SBDebugger::AddDestroyCallback | ( | lldb::SBDebuggerDestroyCallback | destroy_callback, |
| void * | baton ) |
Set a callback for when the debugger is destroyed (deprecated).
Add a callback for when the debugger is destroyed. Returns a token that can be used to remove the callback.
Definition at line 1703 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, LLDB_INVALID_CALLBACK_TOKEN, and m_opaque_sp.
Referenced by HandleProcessEvent().
| void SBDebugger::CancelInterruptRequest | ( | ) |
Cancel a previously requested interrupt.
Definition at line 1735 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| void SBDebugger::Clear | ( | ) |
Clear this debugger instance.
This will close all IO handlers and reset the debugger to its initial state.
Definition at line 231 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
|
static |
Create a new debugger instance (deprecated).
Definition at line 240 of file SBDebugger.cpp.
References Create(), LLDB_INSTRUMENT, and SBDebugger().
Referenced by Create(), Create(), and ~SBDebugger().
|
static |
Create a new debugger instance.
If source_init_files is true, the debugger will source .lldbinit files from the home directory and current directory.
Definition at line 246 of file SBDebugger.cpp.
References Create(), LLDB_INSTRUMENT_VA, and SBDebugger().
|
static |
Create a new debugger instance with a custom log handler and user data passed to the log callback.
If source_init_files is true, the debugger will source .lldbinit files from the home directory and current directory.
Definition at line 252 of file SBDebugger.cpp.
References lldb_private::Debugger::CreateInstance(), lldb::SBCommandInterpreter::get(), GetCommandInterpreter(), LLDB_INSTRUMENT_VA, reset(), SBCommandInterpreter, SBDebugger(), lldb_private::CommandInterpreter::SkipAppInitFiles(), lldb_private::CommandInterpreter::SkipLLDBInitFiles(), lldb::SBCommandInterpreter::SourceInitFileInGlobalDirectory(), and lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory().
| SBTypeCategory SBDebugger::CreateCategory | ( | const char * | category_name | ) |
Create a new type category.
Definition at line 1575 of file SBDebugger.cpp.
References lldb_private::DataVisualization::Categories::GetCategory(), LLDB_INSTRUMENT_VA, and lldb::SBTypeCategory.
Referenced by LLDB_DEPRECATED_FIXME().
| SBTarget SBDebugger::CreateTarget | ( | const char * | filename | ) |
Create a target with the specified file.
Definition at line 867 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::eLoadDependentsNo, lldb_private::eLoadDependentsYes, error(), lldb_private::GetLog(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
| lldb::SBTarget SBDebugger::CreateTarget | ( | const char * | filename, |
| const char * | target_triple, | ||
| const char * | platform_name, | ||
| bool | add_dependent_modules, | ||
| lldb::SBError & | error ) |
Create a target with the specified parameters.
Definition at line 758 of file SBDebugger.cpp.
References lldb_private::API, lldb::SBError::Clear(), lldb_private::eLoadDependentsNo, lldb_private::eLoadDependentsYes, lldb_private::Status::FromErrorString(), lldb::SBError::GetCString(), lldb_private::GetLog(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, lldb::SBError::ref(), SBTarget, lldb_private::OptionGroupPlatform::SetPlatformName(), lldb::SBTarget::SetSP(), and lldb::SBError::Success().
Referenced by HandleProcessEvent().
| SBTarget SBDebugger::CreateTargetWithFileAndArch | ( | const char * | filename, |
| const char * | archname ) |
Create a target with the specified file and architecture.
Definition at line 822 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::eLoadDependentsYes, error(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::Platform::GetAugmentedArchSpec(), lldb_private::GetLog(), lldb_private::ArchSpec::IsValid(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
| SBTarget SBDebugger::CreateTargetWithFileAndTargetTriple | ( | const char * | filename, |
| const char * | target_triple ) |
Create a target with the specified file and target triple.
Definition at line 797 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::eLoadDependentsNo, lldb_private::eLoadDependentsYes, error(), lldb_private::GetLog(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
| bool SBDebugger::DeleteCategory | ( | const char * | category_name | ) |
Delete a type category.
Definition at line 1591 of file SBDebugger.cpp.
References lldb_private::DataVisualization::Categories::Delete(), and LLDB_INSTRUMENT_VA.
Referenced by LLDB_DEPRECATED_FIXME().
| bool SBDebugger::DeleteTarget | ( | lldb::SBTarget & | target | ) |
Delete a target from the debugger.
Definition at line 916 of file SBDebugger.cpp.
References lldb_private::API, lldb::SBTarget::Clear(), lldb_private::GetLog(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, and lldb::SBTarget::m_opaque_sp.
Referenced by HandleProcessEvent().
|
static |
Destroy a debugger instance.
Definition at line 284 of file SBDebugger.cpp.
References lldb_private::Debugger::Destroy(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBDebugger().
Referenced by ~SBDebugger().
| void SBDebugger::DispatchClientTelemetry | ( | const lldb::SBStructuredData & | data | ) |
Dispatch telemetry data from client to server.
This is used to send telemetry data from the client to the server if client-telemetry is enabled. If not enabled, the data is ignored.
Definition at line 905 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::GetLog(), LLDB_INSTRUMENT_VA, LLDB_LOGF, lldb::SBStructuredData::m_impl_up, and m_opaque_sp.
Referenced by HandleProcessEvent().
| void SBDebugger::DispatchInput | ( | const void * | data, |
| size_t | data_len ) |
Dispatch input to the debugger.
Definition at line 1161 of file SBDebugger.cpp.
References data, data_len, DispatchInput(), and LLDB_INSTRUMENT_VA.
Referenced by DispatchInput().
| void SBDebugger::DispatchInputEndOfFile | ( | ) |
Signal end-of-file to the current input dispatch.
Definition at line 1191 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| void SBDebugger::DispatchInputInterrupt | ( | ) |
Interrupt the current input dispatch.
Definition at line 1184 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBDebugger::EnableLog | ( | const char * | channel, |
| const char ** | categories ) |
Enable logging for a specific channel and category.
Definition at line 1668 of file SBDebugger.cpp.
References lldb_private::eLogHandlerStream, GetCategoryArray(), LLDB_INSTRUMENT_VA, LLDB_LOG_OPTION_PREPEND_THREAD_NAME, LLDB_LOG_OPTION_PREPEND_TIMESTAMP, and m_opaque_sp.
Referenced by HandleProcessEvent().
|
static |
Find a debugger by ID. Returns an invalid debugger if not found.
Definition at line 1277 of file SBDebugger.cpp.
References lldb_private::Debugger::FindDebuggerWithID(), LLDB_INSTRUMENT_VA, reset(), and SBDebugger().
| SBTarget SBDebugger::FindTargetByGloballyUniqueID | ( | lldb::user_id_t | id | ) | const |
Find a target with the specified unique ID.
Definition at line 962 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
| SBTarget SBDebugger::FindTargetWithFileAndArch | ( | const char * | filename, |
| const char * | arch ) |
Find a target with the specified file and architecture.
Definition at line 984 of file SBDebugger.cpp.
References lldb_private::Platform::GetAugmentedArchSpec(), LLDB_INSTRUMENT_VA, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
|
private |
Definition at line 1001 of file SBDebugger.cpp.
References m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by SBProgress.
| SBTarget SBDebugger::FindTargetWithProcessID | ( | lldb::pid_t | pid | ) |
Find a target with the specified process ID.
Definition at line 973 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
|
inline |
Broadcast bit definitions for the SBDebugger.
Definition at line 48 of file SBDebugger.h.
References lldb::eBroadcastBitError, lldb::eBroadcastBitExternalProgress, lldb::eBroadcastBitExternalProgressCategory, lldb::eBroadcastBitProgress, lldb::eBroadcastBitProgressCategory, and lldb::eBroadcastBitWarning.
|
private |
Definition at line 1268 of file SBDebugger.cpp.
References m_opaque_sp.
Referenced by SBProgress, lldb::SBProgress::SBProgress(), lldb::SBProgress::SBProgress(), lldb::SBListener::StartListeningForEventClass(), and lldb::SBListener::StopListeningForEventClass().
|
private |
Definition at line 1275 of file SBDebugger.cpp.
References m_opaque_sp.
Referenced by SBProgress, and lldb::SBSourceManager::SBSourceManager().
| bool SBDebugger::GetAsync | ( | ) |
Get whether the debugger is running in asynchronous mode.
Definition at line 323 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| SBStructuredData SBDebugger::GetAvailablePlatformInfoAtIndex | ( | uint32_t | idx | ) |
Get information about the available platform at the given index as structured data.
Definition at line 1131 of file SBDebugger.cpp.
References data, lldb_private::Platform::GetHostPlatform(), lldb_private::PluginManager::GetPlatformPluginDescriptionAtIndex(), lldb_private::PluginManager::GetPlatformPluginNameAtIndex(), LLDB_INSTRUMENT_VA, and SBStructuredData.
Referenced by HandleProcessEvent().
| SBBroadcaster SBDebugger::GetBroadcaster | ( | ) |
Get the broadcaster that allows subscribing to events from this debugger.
Definition at line 175 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBBroadcaster.
Referenced by ~SBDebugger().
|
static |
Get the broadcaster class name.
Definition at line 119 of file SBDebugger.cpp.
References lldb_private::Debugger::GetStaticBroadcasterClass(), lldb_private::StringPool::GetSystemPool(), lldb_private::StringPoolRef::InternNonEmpty(), and LLDB_INSTRUMENT.
Referenced by ~SBDebugger().
|
static |
Get the build configuration as structured data.
Definition at line 734 of file SBDebugger.cpp.
References data, lldb_private::Debugger::GetBuildConfiguration(), LLDB_INSTRUMENT, and SBStructuredData.
Referenced by HandleProcessEvent().
| SBTypeCategory SBDebugger::GetCategory | ( | const char * | category_name | ) |
Get a type category by name.
Definition at line 1548 of file SBDebugger.cpp.
References lldb_private::DataVisualization::Categories::GetCategory(), LLDB_INSTRUMENT_VA, and lldb::SBTypeCategory.
Referenced by GetDefaultCategory(), and LLDB_DEPRECATED_FIXME().
| SBTypeCategory SBDebugger::GetCategory | ( | lldb::LanguageType | lang_type | ) |
Get a type category by language.
Definition at line 1564 of file SBDebugger.cpp.
References lldb_private::DataVisualization::Categories::GetCategory(), LLDB_INSTRUMENT_VA, and lldb::SBTypeCategory.
| SBTypeCategory SBDebugger::GetCategoryAtIndex | ( | uint32_t | index | ) |
Get a type category by index.
Definition at line 1606 of file SBDebugger.cpp.
References lldb_private::DataVisualization::Categories::GetCategoryAtIndex(), LLDB_INSTRUMENT_VA, and lldb::SBTypeCategory.
Referenced by LLDB_DEPRECATED_FIXME().
| bool SBDebugger::GetCloseInputOnEOF | ( | ) | const |
Get whether to close input on EOF (deprecated).
Definition at line 1538 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by LLDB_DEPRECATED_FIXME().
| SBCommandInterpreter SBDebugger::GetCommandInterpreter | ( | ) |
Get the command interpreter for this debugger.
Definition at line 531 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBCommandInterpreter::reset(), and SBCommandInterpreter.
Referenced by Create(), HandleCommand(), and ~SBDebugger().
|
static |
Get the default architecture.
Definition at line 663 of file SBDebugger.cpp.
References lldb_private::ArchSpec::GetArchitectureName(), lldb_private::Target::GetDefaultArchitecture(), lldb_private::ArchSpec::GetTriple(), lldb_private::ArchSpec::IsValid(), and LLDB_INSTRUMENT_VA.
Referenced by HandleProcessEvent().
| SBTypeCategory SBDebugger::GetDefaultCategory | ( | ) |
Get the default type category.
Definition at line 1613 of file SBDebugger.cpp.
References GetCategory(), and LLDB_INSTRUMENT_VA.
Referenced by GetFormatForType(), and LLDB_DEPRECATED_FIXME().
| bool SBDebugger::GetDescription | ( | lldb::SBStream & | description | ) |
Get a description of this debugger.
Definition at line 1487 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
|
static |
Get diagnostic information from an event.
Definition at line 161 of file SBDebugger.cpp.
References data, lldb::SBEvent::get(), lldb_private::DiagnosticEventData::GetAsStructuredData(), LLDB_INSTRUMENT_VA, and SBStructuredData.
Referenced by ~SBDebugger().
| SBTarget SBDebugger::GetDummyTarget | ( | ) |
Get the dummy target.
The dummy target is used when no target is available.
Definition at line 891 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
| SBFile SBDebugger::GetErrorFile | ( | ) |
Get the error file for the debugger.
Definition at line 510 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBFile.
Referenced by HandleCommand(), and ~SBDebugger().
| FILE * SBDebugger::GetErrorFileHandle | ( | ) |
Get the error file handle for the debugger.
Definition at line 502 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| SBTypeFilter SBDebugger::GetFilterForType | ( | SBTypeNameSpecifier | type_name_spec | ) |
Get the filter for a type.
Definition at line 1636 of file SBDebugger.cpp.
References lldb_private::DataVisualization::GetFilterForType(), lldb::SBTypeNameSpecifier::GetSP(), lldb::SBTypeNameSpecifier::IsValid(), LLDB_INSTRUMENT_VA, and lldb::SBTypeFilter.
Referenced by LLDB_DEPRECATED_FIXME().
| SBTypeFormat SBDebugger::GetFormatForType | ( | SBTypeNameSpecifier | type_name_spec | ) |
Get the format for a type.
Definition at line 1619 of file SBDebugger.cpp.
References GetDefaultCategory(), lldb::SBTypeCategory::GetEnabled(), lldb::SBTypeCategory::GetFormatForType(), LLDB_INSTRUMENT_VA, and lldb::SBTypeFormat.
Referenced by LLDB_DEPRECATED_FIXME().
| user_id_t SBDebugger::GetID | ( | ) |
Get the unique ID of this debugger.
Definition at line 1502 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, LLDB_INVALID_UID, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| uint32_t SBDebugger::GetIndexOfTarget | ( | lldb::SBTarget | target | ) |
Get the index of a target.
Definition at line 949 of file SBDebugger.cpp.
References lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, m_opaque_sp, and UINT32_MAX.
Referenced by HandleProcessEvent().
| SBFile SBDebugger::GetInputFile | ( | ) |
Get the input file for the debugger.
Definition at line 480 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBFile.
Referenced by ~SBDebugger().
| FILE * SBDebugger::GetInputFileHandle | ( | ) |
Get the input file handle for the debugger.
Definition at line 471 of file SBDebugger.cpp.
References lldb_private::File::GetStream(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| const char * SBDebugger::GetInstanceName | ( | ) |
Get the instance name of this debugger.
Definition at line 1288 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
static |
Get the value of an internal variable.
Definition at line 1327 of file SBDebugger.cpp.
References lldb_private::OptionValue::eDumpOptionIncludeDeprecated, lldb_private::OptionValue::eDumpOptionValue, error(), lldb_private::Debugger::FindDebuggerWithInstanceName(), lldb_private::StreamString::GetString(), LLDB_INSTRUMENT_VA, lldb::SBStringList, and lldb_private::StringList::SplitIntoLines().
| SBListener SBDebugger::GetListener | ( | ) |
Get the listener associated with this debugger.
Definition at line 578 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBListener::reset(), and SBListener.
Referenced by ~SBDebugger().
| uint32_t SBDebugger::GetNumAvailablePlatforms | ( | ) |
Get the number of available platforms.
The return value should match the number of entries output by the "platform list" command.
Definition at line 1117 of file SBDebugger.cpp.
References lldb_private::PluginManager::GetPlatformPluginNameAtIndex(), and LLDB_INSTRUMENT_VA.
Referenced by HandleProcessEvent().
| uint32_t SBDebugger::GetNumCategories | ( | ) |
Get the number of type categories.
Definition at line 1600 of file SBDebugger.cpp.
References lldb_private::DataVisualization::Categories::GetCount(), and LLDB_INSTRUMENT_VA.
Referenced by LLDB_DEPRECATED_FIXME().
| uint32_t SBDebugger::GetNumPlatforms | ( | ) |
Get the number of currently active platforms.
Definition at line 1096 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
| uint32_t SBDebugger::GetNumTargets | ( | ) |
Get the number of targets in the debugger.
Definition at line 1011 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
| SBFile SBDebugger::GetOutputFile | ( | ) |
Get the output file for the debugger.
Definition at line 495 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBFile.
Referenced by HandleCommand(), and ~SBDebugger().
| FILE * SBDebugger::GetOutputFileHandle | ( | ) |
Get the output file handle for the debugger.
Definition at line 488 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| SBPlatform SBDebugger::GetPlatformAtIndex | ( | uint32_t | idx | ) |
Get one of the currently active platforms.
Definition at line 1106 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, SBPlatform, and lldb::SBPlatform::SetSP().
Referenced by HandleProcessEvent().
|
static |
Get progress data from an event.
Definition at line 146 of file SBDebugger.cpp.
References data, lldb::SBEvent::get(), lldb_private::ProgressEventData::GetAsStructuredData(), LLDB_INSTRUMENT_VA, and SBStructuredData.
Referenced by ~SBDebugger().
|
static |
Get progress data from a SBEvent whose type is eBroadcastBitProgress.
| [in] | event | The event to extract the progress information from. |
| [out] | progress_id | The unique integer identifier for the progress to report. |
| [out] | completed | The amount of work completed. If completed is zero, then this event is a progress started event. If completed is equal to total, then this event is a progress end event. Otherwise completed indicates the current progress update. |
| [out] | total | The total amount of work units that need to be completed. If this value is UINT64_MAX, then an indeterminate progress indicator should be displayed. |
| [out] | is_debugger_specific | Set to true if this progress is specific to this debugger only. Many progress events are not specific to a debugger instance, like any progress events for loading information in modules since LLDB has a global module cache that all debuggers use. |
Definition at line 126 of file SBDebugger.cpp.
References lldb::SBEvent::get(), lldb_private::ProgressEventData::GetCompleted(), lldb_private::ProgressEventData::GetEventDataFromEvent(), lldb_private::ProgressEventData::GetID(), lldb_private::ProgressEventData::GetMessage(), lldb_private::StringPool::GetSystemPool(), lldb_private::ProgressEventData::GetTotal(), lldb_private::StringPoolRef::InternNonEmpty(), lldb_private::ProgressEventData::IsDebuggerSpecific(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBDebugger().
| const char * SBDebugger::GetPrompt | ( | ) | const |
Get the command prompt string.
Definition at line 1390 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::GetLog(), LLDB_INSTRUMENT_VA, LLDB_LOG, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| LanguageType SBDebugger::GetREPLLanguage | ( | ) | const |
Get the current REPL language.
Definition at line 1431 of file SBDebugger.cpp.
References lldb::eLanguageTypeUnknown, LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| const char * SBDebugger::GetReproducerPath | ( | ) | const |
Get the path to the reproducer.
Definition at line 1411 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by LLDB_DEPRECATED_FIXME().
| ScriptLanguage SBDebugger::GetScriptingLanguage | ( | const char * | script_language_name | ) |
Get the scripting language by name.
Definition at line 698 of file SBDebugger.cpp.
References lldb::eScriptLanguageDefault, LLDB_INSTRUMENT_VA, and lldb_private::OptionArgParser::ToScriptLanguage().
Referenced by HandleProcessEvent().
| SBStructuredData SBDebugger::GetScriptInterpreterInfo | ( | lldb::ScriptLanguage | language | ) |
Get information about a script interpreter as structured data.
Definition at line 708 of file SBDebugger.cpp.
References data, lldb_private::ScriptInterpreter::GetInterpreterInfo(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBStructuredData.
Referenced by HandleProcessEvent().
| ScriptLanguage SBDebugger::GetScriptLanguage | ( | ) | const |
Get the current scripting language.
Definition at line 1417 of file SBDebugger.cpp.
References lldb::eScriptLanguageNone, LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| SBPlatform SBDebugger::GetSelectedPlatform | ( | ) |
Get the selected platform.
Definition at line 1063 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb::SBPlatform::GetName(), lldb::SBPlatform::GetSP(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, SBPlatform, and lldb::SBPlatform::SetSP().
Referenced by HandleProcessEvent(), and SetCurrentPlatformSDKRoot().
| SBTarget SBDebugger::GetSelectedTarget | ( | ) |
Get the currently selected target.
Definition at line 1021 of file SBDebugger.cpp.
References lldb_private::API, lldb::eDescriptionLevelBrief, lldb::SBStream::GetData(), lldb::SBTarget::GetDescription(), lldb_private::GetLog(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
| lldb::SBStructuredData SBDebugger::GetSetting | ( | const char * | setting = nullptr | ) |
Get debugger settings as structured data.
Client can specify empty string or null to get all settings.
Example usages:
Definition at line 449 of file SBDebugger.cpp.
References data, lldb_private::StreamString::GetString(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::StructuredData::ParseJSON(), and SBStructuredData.
Referenced by ~SBDebugger().
| SBSourceManager SBDebugger::GetSourceManager | ( | ) |
Get the source manager for this debugger.
Definition at line 656 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and SBSourceManager.
Referenced by HandleProcessEvent().
| SBTypeSummary SBDebugger::GetSummaryForType | ( | SBTypeNameSpecifier | type_name_spec | ) |
Get the summary for a type.
Definition at line 1628 of file SBDebugger.cpp.
References lldb::SBTypeNameSpecifier::GetSP(), lldb_private::DataVisualization::GetSummaryForType(), lldb::SBTypeNameSpecifier::IsValid(), LLDB_INSTRUMENT_VA, and lldb::SBTypeSummary.
Referenced by LLDB_DEPRECATED_FIXME().
| SBTypeSynthetic SBDebugger::GetSyntheticForType | ( | SBTypeNameSpecifier | type_name_spec | ) |
Get the synthetic for a type.
Definition at line 1644 of file SBDebugger.cpp.
References lldb::SBTypeNameSpecifier::GetSP(), lldb_private::DataVisualization::GetSyntheticForType(), lldb::SBTypeNameSpecifier::IsValid(), LLDB_INSTRUMENT_VA, and lldb::SBTypeSynthetic.
Referenced by LLDB_DEPRECATED_FIXME().
| SBTarget SBDebugger::GetTargetAtIndex | ( | uint32_t | idx | ) |
Get a target by index.
Definition at line 938 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, SBTarget, and lldb::SBTarget::SetSP().
Referenced by HandleProcessEvent().
| uint32_t SBDebugger::GetTerminalHeight | ( | ) | const |
Get the terminal height.
Definition at line 1369 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| uint32_t SBDebugger::GetTerminalWidth | ( | ) | const |
Get the terminal width.
Definition at line 1356 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBDebugger::GetUseColor | ( | ) | const |
Get whether color is being used in output.
Definition at line 1463 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
| bool SBDebugger::GetUseExternalEditor | ( | ) |
Get whether an external editor is being used.
Definition at line 1451 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
| bool SBDebugger::GetUseSourceCache | ( | ) | const |
Get whether the source cache is being used.
Definition at line 1481 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
|
static |
Get the LLDB version string.
Plugins can augment this string. To get the full string, call this after SBDebugger::Initialize().
Definition at line 721 of file SBDebugger.cpp.
References lldb_private::ConstString::GetCString(), lldb_private::Language::GetVersionWithLanguageInfo(), and LLDB_INSTRUMENT.
Referenced by HandleProcessEvent().
| void SBDebugger::HandleCommand | ( | const char * | command | ) |
Execute a command in the command interpreter.
Definition at line 541 of file SBDebugger.cpp.
References GetCommandInterpreter(), GetErrorFile(), GetOutputFile(), lldb::SBProcess::GetSP(), lldb::SBCommandInterpreter::HandleCommand(), HandleProcessEvent, LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBCommandReturnObject::PutError(), lldb::SBCommandReturnObject::PutOutput(), SBCommandInterpreter, and SBProcess.
Referenced by ~SBDebugger().
| void lldb::SBDebugger::HandleProcessEvent | ( | const lldb::SBProcess & | process, |
| const lldb::SBEvent & | event, | ||
| FileSP | out, | ||
| FileSP | err ) |
Handle a process event using FileSP objects.
References AddDestroyCallback(), CreateTarget(), CreateTargetWithFileAndArch(), CreateTargetWithFileAndTargetTriple(), data, DeleteTarget(), DispatchClientTelemetry(), EnableLog(), error(), FindTargetByGloballyUniqueID(), FindTargetWithFileAndArch(), FindTargetWithProcessID(), GetAvailablePlatformInfoAtIndex(), GetBuildConfiguration(), GetDefaultArchitecture(), GetDummyTarget(), GetIndexOfTarget(), GetNumAvailablePlatforms(), GetNumPlatforms(), GetNumTargets(), GetPlatformAtIndex(), GetScriptingLanguage(), GetScriptInterpreterInfo(), GetSelectedPlatform(), GetSelectedTarget(), GetSourceManager(), GetTargetAtIndex(), GetUseColor(), GetUseExternalEditor(), GetUseSourceCache(), GetVersionString(), RemoveDestroyCallback(), SBStructuredData, SBTarget, SetCurrentPlatform(), SetCurrentPlatformSDKRoot(), SetDefaultArchitecture(), SetLoggingCallback(), SetSelectedPlatform(), SetSelectedTarget(), SetShowInlineDiagnostics(), SetUseColor(), SetUseExternalEditor(), SetUseSourceCache(), StateAsCString(), StateIsRunningState(), and StateIsStoppedState().
|
static |
Initialize LLDB and its subsystems.
This function should be called before any other LLDB functions. It initializes all required subsystems for proper LLDB functionality.
Definition at line 184 of file SBDebugger.cpp.
References InitializeWithErrorHandling(), and LLDB_INSTRUMENT.
Referenced by InitializeWithErrorHandling(), and ~SBDebugger().
|
static |
InitializeWithErrorHandling() with options.
LLDB is left uninitialized if one cannot be honored.
Definition at line 195 of file SBDebugger.cpp.
References error(), lldb_private::Status::FromError(), g_debugger_lifetime, LLDB_INSTRUMENT_VA, and lldb::SBInitializationOptions::ref().
|
static |
Initialize the LLDB debugger subsystem with error handling.
Similar to Initialize(), but returns an error if initialization fails.
Definition at line 189 of file SBDebugger.cpp.
References Initialize(), LLDB_INSTRUMENT, and lldb::SBInitializationOptions.
Referenced by Initialize(), and ~SBDebugger().
| bool SBDebugger::InterruptRequested | ( | ) |
Check if an interrupt has been requested.
Definition at line 1742 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| bool SBDebugger::IsValid | ( | ) | const |
Check if this is a valid SBDebugger object.
Definition at line 306 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by ~SBDebugger().
| lldb::SBDebugger::LLDB_DEPRECATED_FIXME | ( | "Use DispatchInput(const void *, size_t)" | , |
| "DispatchInput(const void *, size_t)" | ) |
Dispatch input to the debugger (deprecated).
Referenced by LLDB_DEPRECATED_FIXME().
| lldb::SBDebugger::LLDB_DEPRECATED_FIXME | ( | "Use SetTerminalDimensions" | , |
| "SetTerminalDimensions(uint32_t, uint32_t)" | ) |
Set the terminal height.
References CreateCategory(), DeleteCategory(), GetCategory(), GetCategoryAtIndex(), GetCloseInputOnEOF(), GetDefaultCategory(), GetFilterForType(), GetFormatForType(), GetID(), GetNumCategories(), GetPrompt(), GetREPLLanguage(), GetReproducerPath(), GetScriptLanguage(), GetSummaryForType(), GetSyntheticForType(), LLDB_DEPRECATED, LLDB_DEPRECATED_FIXME(), ResetStatistics(), RunCommandInterpreter(), SetCloseInputOnEOF(), SetPrompt(), SetREPLLanguage(), SetScriptLanguage(), and SetTerminalDimensions().
| lldb::SBDebugger::LLDB_DEPRECATED_FIXME | ( | "Use SetTerminalDimensions" | , |
| "SetTerminalDimensions(uint32_t, uint32_t)" | ) |
Set the terminal width.
References GetTerminalHeight().
| SBTrace SBDebugger::LoadTraceFromFile | ( | SBError & | error, |
| const SBFileSpec & | trace_description_file ) |
Load a trace from a trace description file.
This will create Targets, Processes and Threads based on the contents of the file.
| [out] | error | An error if the trace could not be created. |
| [in] | trace_description_file | The file containing the necessary information to load the trace. |
Definition at line 1723 of file SBDebugger.cpp.
References error(), LLDB_INSTRUMENT_VA, and lldb::SBTrace::LoadTraceFromFile().
|
static |
Notify the debugger that system memory pressure has been detected.
This can be used to free up memory resources by clearing caches.
Definition at line 293 of file SBDebugger.cpp.
References LLDB_INSTRUMENT, and lldb_private::ModuleList::RemoveOrphanSharedModules().
Referenced by ~SBDebugger().
|
explicit |
Check if this is a valid SBDebugger object.
Definition at line 310 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| SBDebugger & SBDebugger::operator= | ( | const lldb::SBDebugger & | rhs | ) |
Assignment operator.
Definition at line 110 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBDebugger().
Referenced by ~SBDebugger().
|
static |
Configure LLDB to print diagnostic information when it crashes.
Definition at line 219 of file SBDebugger.cpp.
References DumpDiagnostics(), and LLDB_INSTRUMENT.
Referenced by ~SBDebugger().
|
static |
Configure LLDB to print a stack trace when it crashes.
Definition at line 206 of file SBDebugger.cpp.
References LLDB_INSTRUMENT.
Referenced by ~SBDebugger().
| void SBDebugger::PushInputReader | ( | lldb::SBInputReader & | reader | ) |
Push an input reader onto the IO handler stack.
Definition at line 1198 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and SBInputReader.
|
private |
Definition at line 1270 of file SBDebugger.cpp.
References m_opaque_sp.
Referenced by lldb::SBPlatform::Attach(), lldb::SBTrace::LoadTraceFromFile(), and SBProgress.
| bool SBDebugger::RemoveDestroyCallback | ( | lldb::callback_token_t | token | ) |
Remove a destroy callback.
Definition at line 1713 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
| void SBDebugger::RequestInterrupt | ( | ) |
Request an interrupt of the current operation.
Definition at line 1729 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
|
private |
Definition at line 1264 of file SBDebugger.cpp.
References m_opaque_sp.
Referenced by Create(), FindDebuggerWithID(), lldb::SBCommandInterpreter::GetDebugger(), lldb::SBTarget::GetDebugger(), and SBProgress.
| void SBDebugger::ResetStatistics | ( | ) |
Clear collected statistics for targets belonging to this debugger.
This includes clearing symbol table and debug info parsing/index time for all modules, breakpoint resolve time, and target statistics.
Definition at line 1653 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::DebuggerStats::ResetStatistics().
Referenced by LLDB_DEPRECATED_FIXME().
| void SBDebugger::RestoreInputTerminalState | ( | ) |
Restore the previously saved terminal state.
Definition at line 525 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
Run the command interpreter.
| [in] | auto_handle_events | If true, automatically handle resulting events. This takes precedence and overrides the corresponding option in SBCommandInterpreterRunOptions. |
| [in] | spawn_thread | If true, start a new thread for IO handling. This takes precedence and overrides the corresponding option in SBCommandInterpreterRunOptions. |
Definition at line 1202 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::CommandInterpreterRunOptions::SetAutoHandleEvents(), and lldb_private::CommandInterpreterRunOptions::SetSpawnThread().
Referenced by LLDB_DEPRECATED_FIXME().
| void SBDebugger::RunCommandInterpreter | ( | bool | auto_handle_events, |
| bool | spawn_thread, | ||
| SBCommandInterpreterRunOptions & | options, | ||
| int & | num_errors, | ||
| bool & | quit_requested, | ||
| bool & | stopped_for_crash ) |
Run the command interpreter with options.
| [in] | auto_handle_events | If true, automatically handle resulting events. This takes precedence and overrides the corresponding option in SBCommandInterpreterRunOptions. |
| [in] | spawn_thread | If true, start a new thread for IO handling. This takes precedence and overrides the corresponding option in SBCommandInterpreterRunOptions. |
| [in] | options | Parameter collection of type SBCommandInterpreterRunOptions. |
| [out] | num_errors | The number of errors. |
| [out] | quit_requested | Whether a quit was requested. |
| [out] | stopped_for_crash | Whether the interpreter stopped for a crash. |
Definition at line 1214 of file SBDebugger.cpp.
References lldb::eCommandInterpreterResultInferiorCrash, lldb::eCommandInterpreterResultQuitRequested, lldb_private::CommandInterpreterRunResult::GetNumErrors(), lldb_private::CommandInterpreterRunResult::IsResult(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBCommandInterpreterRunOptions::ref(), lldb_private::CommandInterpreter::RunCommandInterpreter(), lldb::SBCommandInterpreterRunOptions::SetAutoHandleEvents(), and lldb::SBCommandInterpreterRunOptions::SetSpawnThread().
| SBCommandInterpreterRunResult SBDebugger::RunCommandInterpreter | ( | const SBCommandInterpreterRunOptions & | options | ) |
Run the command interpreter with options and return a result object.
Definition at line 1238 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBCommandInterpreterRunOptions::ref(), lldb_private::CommandInterpreter::RunCommandInterpreter(), and lldb::SBCommandInterpreterRunResult.
| SBError SBDebugger::RunREPL | ( | lldb::LanguageType | language, |
| const char * | repl_options ) |
Run a REPL (Read-Eval-Print Loop) for the specified language.
Definition at line 1252 of file SBDebugger.cpp.
References error(), lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| void SBDebugger::SaveInputTerminalState | ( | ) |
Save the current terminal state.
This should be called before modifying terminal settings.
Definition at line 518 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| void SBDebugger::SetAsync | ( | bool | b | ) |
Set whether the debugger should run in asynchronous mode.
When in asynchronous mode, events are processed on a background thread.
Definition at line 316 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| void SBDebugger::SetCloseInputOnEOF | ( | bool | b | ) |
Set whether to close input on EOF (deprecated).
Definition at line 1544 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by LLDB_DEPRECATED_FIXME().
| SBError SBDebugger::SetCurrentPlatform | ( | const char * | platform_name | ) |
Set the current platform by name.
Definition at line 1508 of file SBDebugger.cpp.
References lldb_private::Status::FromErrorString(), lldb_private::PlatformList::GetOrCreate(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBError::ref(), and lldb_private::PlatformList::SetSelectedPlatform().
Referenced by HandleProcessEvent().
| bool SBDebugger::SetCurrentPlatformSDKRoot | ( | const char * | sysroot | ) |
Set the SDK root for the current platform.
Definition at line 1528 of file SBDebugger.cpp.
References GetSelectedPlatform(), LLDB_INSTRUMENT_VA, and SBPlatform.
Referenced by HandleProcessEvent().
|
static |
Set the default architecture.
Definition at line 684 of file SBDebugger.cpp.
References lldb_private::ArchSpec::IsValid(), LLDB_INSTRUMENT_VA, and lldb_private::Target::SetDefaultArchitecture().
Referenced by HandleProcessEvent().
Set the error file for the debugger using a FileSP.
Definition at line 429 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, lldb::SBFile, and SetErrorFile().
Set the error file for the debugger.
Definition at line 434 of file SBDebugger.cpp.
References error(), lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBFile::m_opaque_sp.
Referenced by SetErrorFile(), SetErrorFileHandle(), and ~SBDebugger().
| void SBDebugger::SetErrorFileHandle | ( | FILE * | f, |
| bool | transfer_ownership ) |
Set the error file handle for the debugger.
Definition at line 423 of file SBDebugger.cpp.
References lldb_private::File::eOpenOptionWriteOnly, LLDB_INSTRUMENT_VA, and SetErrorFile().
Referenced by ~SBDebugger().
Set the input file for the debugger using a FileSP.
Definition at line 392 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, lldb::SBFile, and SetInputFile().
Set the input file for the debugger.
Definition at line 376 of file SBDebugger.cpp.
References error(), lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBFile::m_opaque_sp.
Referenced by SetInputFile(), and ~SBDebugger().
| void SBDebugger::SetInputFileHandle | ( | FILE * | f, |
| bool | transfer_ownership ) |
Set the input file handle for the debugger.
Definition at line 343 of file SBDebugger.cpp.
References lldb_private::File::eOpenOptionReadOnly, LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| SBError SBDebugger::SetInputString | ( | const char * | data | ) |
Set the input from a string.
Definition at line 350 of file SBDebugger.cpp.
References data, lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBError::SetError().
Referenced by ~SBDebugger().
|
static |
Set an internal variable.
Definition at line 1298 of file SBDebugger.cpp.
References error(), lldb_private::eVarSetOperationAssign, lldb_private::Debugger::FindDebuggerWithInstanceName(), lldb_private::Status::FromErrorStringWithFormat(), LLDB_INSTRUMENT_VA, lldb_private::Debugger::ReportWarning(), lldb::SBError::SetError(), and warning().
| void SBDebugger::SetLoggingCallback | ( | lldb::LogOutputCallback | log_callback, |
| void * | baton ) |
Set a callback for log output.
Definition at line 1684 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
Set the output file for the debugger using a FileSP.
Definition at line 397 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, lldb::SBFile, and SetOutputFile().
Set the output file for the debugger.
Definition at line 408 of file SBDebugger.cpp.
References error(), lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBFile::m_opaque_sp.
Referenced by SetOutputFile(), SetOutputFileHandle(), and ~SBDebugger().
| void SBDebugger::SetOutputFileHandle | ( | FILE * | f, |
| bool | transfer_ownership ) |
Set the output file handle for the debugger.
Definition at line 402 of file SBDebugger.cpp.
References lldb_private::File::eOpenOptionWriteOnly, LLDB_INSTRUMENT_VA, and SetOutputFile().
Referenced by ~SBDebugger().
| void SBDebugger::SetPrompt | ( | const char * | prompt | ) |
Set the command prompt string.
Definition at line 1404 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| void SBDebugger::SetREPLLanguage | ( | lldb::LanguageType | repl_lang | ) |
Set the current REPL language.
Definition at line 1437 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| void SBDebugger::SetScriptLanguage | ( | lldb::ScriptLanguage | script_lang | ) |
Set the current scripting language.
Definition at line 1423 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
| void SBDebugger::SetSelectedPlatform | ( | lldb::SBPlatform & | platform | ) |
Set the selected platform.
Definition at line 1080 of file SBDebugger.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb::SBPlatform::GetName(), lldb::SBPlatform::GetSP(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, and SBPlatform.
Referenced by HandleProcessEvent().
| void SBDebugger::SetSelectedTarget | ( | SBTarget & | target | ) |
Set the selected target.
Definition at line 1045 of file SBDebugger.cpp.
References lldb_private::API, lldb::eDescriptionLevelBrief, lldb::SBStream::GetData(), lldb::SBTarget::GetDescription(), lldb_private::GetLog(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, and SBTarget.
Referenced by HandleProcessEvent().
Set whether to show inline diagnostics.
Definition at line 1469 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
| void SBDebugger::SetTerminalDimensions | ( | uint32_t | term_width, |
| uint32_t | term_height ) |
Set the terminal width and height together.
Prefer this over the single-axis setters when both are known, e.g. when handling a resize.
Definition at line 1382 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by LLDB_DEPRECATED_FIXME().
Set whether to use color in output.
Definition at line 1457 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
Set whether to use an external editor.
Definition at line 1445 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
Set whether to use the source cache.
Definition at line 1475 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by HandleProcessEvent().
| void SBDebugger::SkipAppInitFiles | ( | bool | b | ) |
Set whether to skip loading application-specific .lldbinit files.
Definition at line 336 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
| void SBDebugger::SkipLLDBInitFiles | ( | bool | b | ) |
Set whether to skip loading .lldbinit files.
Definition at line 329 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBDebugger().
|
static |
Convert a state type to a string.
Definition at line 728 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and lldb_private::StateAsCString().
Referenced by lldb::SBProcess::AppendEventStateReport(), HandleProcessEvent(), and lldb::SBProcess::ReportEventState().
|
static |
Check if a state is a running state.
Definition at line 742 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and lldb_private::StateIsRunningState().
Referenced by HandleProcessEvent().
|
static |
Check if a state is a stopped state.
Definition at line 750 of file SBDebugger.cpp.
References LLDB_INSTRUMENT_VA, and lldb_private::StateIsStoppedState().
Referenced by HandleProcessEvent().
|
static |
Check if a specific language is supported by LLDB.
Definition at line 1750 of file SBDebugger.cpp.
References lldb_private::TypeSystem::SupportsLanguageStatic().
Referenced by ~SBDebugger().
|
static |
Terminate LLDB and its subsystems.
This should be called when LLDB is no longer needed.
Definition at line 225 of file SBDebugger.cpp.
References g_debugger_lifetime, and LLDB_INSTRUMENT.
Referenced by ~SBDebugger().
|
friend |
Definition at line 684 of file SBDebugger.h.
|
friend |
Definition at line 685 of file SBDebugger.h.
|
friend |
Definition at line 686 of file SBDebugger.h.
|
friend |
Definition at line 687 of file SBDebugger.h.
References SBDebugger().
|
friend |
Definition at line 692 of file SBDebugger.h.
References SBCommandInterpreter.
Referenced by Create(), GetCommandInterpreter(), HandleCommand(), and SBCommandInterpreter.
|
friend |
Definition at line 693 of file SBDebugger.h.
References SBInputReader.
Referenced by PushInputReader(), and SBInputReader.
|
friend |
Definition at line 694 of file SBDebugger.h.
References SBListener.
Referenced by GetListener(), and SBListener.
|
friend |
Definition at line 698 of file SBDebugger.h.
References SBPlatform.
Referenced by GetPlatformAtIndex(), GetSelectedPlatform(), SBPlatform, SetCurrentPlatformSDKRoot(), and SetSelectedPlatform().
|
friend |
Definition at line 695 of file SBDebugger.h.
References SBProcess.
Referenced by HandleCommand(), SBProcess, and ~SBDebugger().
|
friend |
Definition at line 701 of file SBDebugger.h.
References FindTargetWithLLDBProcess(), get(), get_sp(), ref(), reset(), and SBProgress.
Referenced by SBProgress.
|
friend |
Definition at line 696 of file SBDebugger.h.
References SBSourceManager.
Referenced by GetSourceManager(), and SBSourceManager.
|
friend |
Definition at line 697 of file SBDebugger.h.
References SBStructuredData.
Referenced by GetAvailablePlatformInfoAtIndex(), GetBuildConfiguration(), GetDiagnosticFromEvent(), GetProgressDataFromEvent(), GetScriptInterpreterInfo(), GetSetting(), HandleProcessEvent(), SBStructuredData, and ~SBDebugger().
|
friend |
Definition at line 699 of file SBDebugger.h.
References SBTarget.
Referenced by CreateTarget(), CreateTarget(), CreateTargetWithFileAndArch(), CreateTargetWithFileAndTargetTriple(), FindTargetByGloballyUniqueID(), FindTargetWithFileAndArch(), FindTargetWithLLDBProcess(), FindTargetWithProcessID(), GetDummyTarget(), GetSelectedTarget(), GetTargetAtIndex(), HandleProcessEvent(), SBTarget, and SetSelectedTarget().
|
friend |
| const void* lldb::SBDebugger::data |
Definition at line 485 of file SBDebugger.h.
Referenced by DispatchInput(), GetAvailablePlatformInfoAtIndex(), GetBuildConfiguration(), GetDiagnosticFromEvent(), GetProgressDataFromEvent(), GetScriptInterpreterInfo(), GetSetting(), HandleProcessEvent(), SetInputString(), and ~SBDebugger().
| const void size_t lldb::SBDebugger::data_len |
Definition at line 485 of file SBDebugger.h.
Referenced by DispatchInput().
| void SBDebugger::HandleProcessEvent |
Handle a process event (deprecated).
Handle a process event.
Definition at line 310 of file SBDebugger.h.
Referenced by HandleCommand(), and ~SBDebugger().
|
private |
Definition at line 713 of file SBDebugger.h.
Referenced by AddDestroyCallback(), CancelInterruptRequest(), Clear(), CreateTarget(), CreateTarget(), CreateTargetWithFileAndArch(), CreateTargetWithFileAndTargetTriple(), DeleteTarget(), Destroy(), DispatchClientTelemetry(), DispatchInputEndOfFile(), DispatchInputInterrupt(), EnableLog(), FindTargetByGloballyUniqueID(), FindTargetWithFileAndArch(), FindTargetWithLLDBProcess(), FindTargetWithProcessID(), get(), get_sp(), GetAsync(), GetBroadcaster(), GetCommandInterpreter(), lldb_private::ScriptInterpreterBridge::GetDebugger(), GetDescription(), GetDummyTarget(), GetErrorFile(), GetErrorFileHandle(), GetID(), GetIndexOfTarget(), GetInputFile(), GetInputFileHandle(), GetInstanceName(), GetListener(), GetNumPlatforms(), GetNumTargets(), GetOutputFile(), GetOutputFileHandle(), GetPlatformAtIndex(), GetPrompt(), GetREPLLanguage(), GetScriptInterpreterInfo(), GetScriptLanguage(), GetSelectedPlatform(), GetSelectedTarget(), GetSetting(), GetTargetAtIndex(), GetTerminalHeight(), GetTerminalWidth(), GetUseColor(), GetUseExternalEditor(), GetUseSourceCache(), HandleCommand(), InterruptRequested(), operator bool(), operator=(), ref(), RemoveDestroyCallback(), RequestInterrupt(), reset(), ResetStatistics(), RestoreInputTerminalState(), RunCommandInterpreter(), RunCommandInterpreter(), RunCommandInterpreter(), RunREPL(), SaveInputTerminalState(), SBDebugger(), SBDebugger(), lldb::SBStructuredData::SBStructuredData(), SetAsync(), SetCurrentPlatform(), SetErrorFile(), SetInputFile(), SetInputFileHandle(), SetInputString(), SetLoggingCallback(), SetOutputFile(), SetPrompt(), SetREPLLanguage(), SetScriptLanguage(), SetSelectedPlatform(), SetSelectedTarget(), SetShowInlineDiagnostics(), SetTerminalDimensions(), SetUseColor(), SetUseExternalEditor(), SetUseSourceCache(), SkipAppInitFiles(), and SkipLLDBInitFiles().