LLDB mainline
GitHubReporter.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SOURCE_PLUGINS_BUGREPORTER_GITHUB_GITHUBREPORTER_H
10#define LLDB_SOURCE_PLUGINS_BUGREPORTER_GITHUB_GITHUBREPORTER_H
11
13
14namespace lldb_private {
15
16/// Opens a pre-filled github.com/llvm/llvm-project "new issue" page. The body
17/// carries a short summary and points at the on-disk bundle to attach, since
18/// large artifacts cannot travel in the URL.
20public:
21 static void Initialize();
22 static void Terminate();
23 static llvm::StringRef GetPluginNameStatic() { return "github"; }
24 static std::unique_ptr<BugReporter> CreateInstance();
25
26 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
27
28 llvm::Error File(const Diagnostics::Report &report) override;
29};
30
31} // namespace lldb_private
32
33#endif // LLDB_SOURCE_PLUGINS_BUGREPORTER_GITHUB_GITHUBREPORTER_H
A pluggable destination for a diagnostics bundle.
Definition BugReporter.h:22
Opens a pre-filled github.com/llvm/llvm-project "new issue" page.
llvm::StringRef GetPluginName() override
static llvm::StringRef GetPluginNameStatic()
llvm::Error File(const Diagnostics::Report &report) override
static std::unique_ptr< BugReporter > CreateInstance()
A class that represents a running process on the host machine.
The state a triager needs to make sense of a bug report.
Definition Diagnostics.h:50