LLDB mainline
|
#include <DebuggerEvents.h>
Public Member Functions | |
DiagnosticEventData (lldb::Severity severity, std::string message, bool debugger_specific) | |
~DiagnosticEventData () override=default | |
const std::string & | GetMessage () const |
bool | IsDebuggerSpecific () const |
lldb::Severity | GetSeverity () const |
llvm::StringRef | GetPrefix () const |
void | Dump (Stream *s) const override |
llvm::StringRef | GetFlavor () const override |
Public Member Functions inherited from lldb_private::EventData | |
EventData () | |
virtual | ~EventData () |
virtual llvm::StringRef | GetFlavor () const =0 |
virtual Log * | GetLogChannel () |
virtual void | Dump (Stream *s) const |
Static Public Member Functions | |
static llvm::StringRef | GetFlavorString () |
static const DiagnosticEventData * | GetEventDataFromEvent (const Event *event_ptr) |
static StructuredData::DictionarySP | GetAsStructuredData (const Event *event_ptr) |
Protected Member Functions | |
DiagnosticEventData (const DiagnosticEventData &)=delete | |
const DiagnosticEventData & | operator= (const DiagnosticEventData &)=delete |
Protected Attributes | |
std::string | m_message |
lldb::Severity | m_severity |
const bool | m_debugger_specific |
Definition at line 77 of file DebuggerEvents.h.
|
inline |
Definition at line 79 of file DebuggerEvents.h.
|
overridedefault |
|
protecteddelete |
|
overridevirtual |
Reimplemented from lldb_private::EventData.
Definition at line 87 of file DebuggerEvents.cpp.
References lldb_private::Stream::AsRawOstream(), lldb::eSeverityWarning, lldb_private::Stream::Flush(), GetMessage(), GetPrefix(), and m_severity.
Referenced by PrivateReportDiagnostic().
|
static |
Definition at line 111 of file DebuggerEvents.cpp.
References GetEventDataFromEvent(), GetMessage(), GetPrefix(), and IsDebuggerSpecific().
Referenced by lldb::SBDebugger::GetDiagnosticFromEvent().
|
static |
Definition at line 106 of file DebuggerEvents.cpp.
Referenced by GetAsStructuredData(), and lldb_private::Debugger::HandleDiagnosticEvent().
|
overridevirtual |
Implements lldb_private::EventData.
Definition at line 101 of file DebuggerEvents.cpp.
References GetFlavorString().
|
static |
Definition at line 97 of file DebuggerEvents.cpp.
Referenced by GetFlavor().
|
inline |
Definition at line 85 of file DebuggerEvents.h.
References m_message.
Referenced by Dump(), and GetAsStructuredData().
llvm::StringRef DiagnosticEventData::GetPrefix | ( | ) | const |
Definition at line 75 of file DebuggerEvents.cpp.
References m_severity.
Referenced by Dump(), and GetAsStructuredData().
|
inline |
Definition at line 87 of file DebuggerEvents.h.
References m_severity.
|
inline |
Definition at line 86 of file DebuggerEvents.h.
References m_debugger_specific.
Referenced by GetAsStructuredData().
|
protecteddelete |
|
protected |
Definition at line 105 of file DebuggerEvents.h.
Referenced by IsDebuggerSpecific().
|
protected |
Definition at line 103 of file DebuggerEvents.h.
Referenced by GetMessage().
|
protected |
Definition at line 104 of file DebuggerEvents.h.
Referenced by Dump(), GetPrefix(), and GetSeverity().