|
LLDB mainline
|
#include "lldb/Core/Diagnostics.h"#include "lldb/Core/Debugger.h"#include "lldb/Host/Host.h"#include "lldb/Host/HostInfo.h"#include "lldb/Interpreter/CommandInterpreter.h"#include "lldb/Interpreter/CommandReturnObject.h"#include "lldb/Target/ExecutionContext.h"#include "lldb/Target/Platform.h"#include "lldb/Target/Statistics.h"#include "lldb/Target/Target.h"#include "lldb/Utility/Args.h"#include "lldb/Utility/LLDBAssert.h"#include "lldb/Utility/ProcessInfo.h"#include "lldb/Version/Version.h"#include "llvm/Support/Error.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/FormatVariadic.h"#include "llvm/Support/JSON.h"#include "llvm/Support/raw_ostream.h"#include <optional>#include <string>#include <vector>Go to the source code of this file.
Functions | |
| static void | WriteArtifact (const FileSpec &dir, llvm::StringRef name, llvm::StringRef content, std::vector< std::string > &files) |
| static std::string | CaptureCommand (Debugger &debugger, llvm::StringRef command) |
| static bool | Available (Requires requirement, const ExecutionContext &exe_ctx) |
Variables | |
| static constexpr size_t | g_num_log_messages = 100 |
| static constexpr TriageCommand | g_triage_commands [] |
|
static |
Definition at line 168 of file Diagnostics.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), and lldb_private::ExecutionContext::GetTargetPtr().
Referenced by lldb_private::Diagnostics::CollectCommands().
|
static |
Definition at line 137 of file Diagnostics.cpp.
References lldb_private::eLazyBoolNo, lldb_private::Debugger::GetCommandInterpreter(), lldb_private::CommandReturnObject::GetErrorString(), lldb_private::CommandReturnObject::GetOutputString(), and lldb_private::CommandInterpreter::HandleCommand().
Referenced by lldb_private::Diagnostics::CollectCommands().
|
static |
Definition at line 120 of file Diagnostics.cpp.
References lldb_private::FileSpec::CopyByAppendingPathComponent(), and lldb_private::FileSpec::GetPath().
Referenced by lldb_private::Diagnostics::CollectCommands(), and lldb_private::Diagnostics::CollectStatistics().
|
staticconstexpr |
Definition at line 38 of file Diagnostics.cpp.
Referenced by lldb_private::Diagnostics::Diagnostics().
|
staticconstexpr |
Definition at line 157 of file Diagnostics.cpp.
Referenced by lldb_private::Diagnostics::CollectCommands().