mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-26 06:28:13 +00:00
A diagnostics bundle records the state of the debugger, never what the user was doing or what they expected instead, so reports arrive with a generic title and no description of the problem. Pre-fill the report with the questions only the person filing it can answer, and print a checklist when the bundle is written so an incomplete report doesn't get shared as-is. rdar://183356348
18 lines
662 B
C++
18 lines
662 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "lldb/Core/BugReporter.h"
|
|
|
|
llvm::ArrayRef<llvm::StringRef> lldb_private::GetBugReportQuestions() {
|
|
static constexpr llvm::StringRef g_questions[] = {
|
|
"What were you doing?",
|
|
"What did you expect to happen?",
|
|
"What happened instead?",
|
|
};
|
|
return g_questions;
|
|
}
|