LLDB mainline
BugReporterNone.cpp
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
11#include "lldb/Host/Config.h"
12
13using namespace lldb_private;
14
16
19 GetPluginNameStatic(), "Fallback used when no bug tracker is configured.",
21}
22
26
27std::unique_ptr<BugReporter> BugReporterNone::CreateInstance() {
28 return std::make_unique<BugReporterNone>();
29}
30
32 return llvm::createStringError("no bug tracker is configured: please file a "
33 "bug manually on " LLDB_BUG_REPORT_URL);
34}
#define LLDB_PLUGIN_DEFINE(PluginName)
The fallback when no bug tracker is configured.
static std::unique_ptr< BugReporter > CreateInstance()
static llvm::StringRef GetPluginNameStatic()
llvm::Error File(const Diagnostics::Report &report) override
static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, ABICreateInstance create_callback)
static bool UnregisterPlugin(ABICreateInstance create_callback)
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