|
LLDB mainline
|
Opens a pre-filled github.com/llvm/llvm-project "new issue" page. More...
#include <GitHubReporter.h>
Public Member Functions | |
| llvm::StringRef | GetPluginName () override |
| llvm::Error | File (const Diagnostics::Report &report) override |
| Public Member Functions inherited from lldb_private::PluginInterface | |
| PluginInterface ()=default | |
| virtual | ~PluginInterface ()=default |
| PluginInterface (const PluginInterface &)=delete | |
| PluginInterface & | operator= (const PluginInterface &)=delete |
Static Public Member Functions | |
| static void | Initialize () |
| static void | Terminate () |
| static llvm::StringRef | GetPluginNameStatic () |
| static std::unique_ptr< BugReporter > | CreateInstance () |
Opens a pre-filled github.com/llvm/llvm-project "new issue" page.
The body carries a short summary and points at the on-disk bundle to attach, since large artifacts cannot travel in the URL.
Definition at line 19 of file GitHubReporter.h.
|
static |
Definition at line 35 of file GitHubReporter.cpp.
Referenced by Initialize(), and Terminate().
|
overridevirtual |
Implements lldb_private::BugReporter.
Definition at line 39 of file GitHubReporter.cpp.
References lldb_private::Diagnostics::Report::attachments, lldb_private::Diagnostics::Attachments::directory, g_max_body_size, lldb_private::Diagnostics::Report::invocation, lldb_private::Host::OpenURL(), lldb_private::Diagnostics::Report::os, lldb_private::Host::URLEncode(), and lldb_private::Diagnostics::Report::version.
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 26 of file GitHubReporter.h.
References GetPluginNameStatic().
|
inlinestatic |
Definition at line 23 of file GitHubReporter.h.
Referenced by GetPluginName(), and Initialize().
|
static |
Definition at line 25 of file GitHubReporter.cpp.
References CreateInstance(), GetPluginNameStatic(), Initialize(), and lldb_private::PluginManager::RegisterPlugin().
Referenced by Initialize().
|
static |
Definition at line 31 of file GitHubReporter.cpp.
References CreateInstance(), and lldb_private::PluginManager::UnregisterPlugin().