|
LLDB mainline
|
#include "lldb/Core/Diagnostics.h"#include "lldb/Core/Debugger.h"#include "lldb/Core/Module.h"#include "lldb/Host/FileSystem.h"#include "lldb/Host/Host.h"#include "lldb/Host/HostInfo.h"#include "lldb/Interpreter/CommandInterpreter.h"#include "lldb/Interpreter/CommandReturnObject.h"#include "lldb/Interpreter/OptionValueProperties.h"#include "lldb/Target/ExecutionContext.h"#include "lldb/Target/Platform.h"#include "lldb/Target/Process.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/ADT/STLExtras.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 <mutex>#include <optional>#include <string>#include <vector>#include "CoreProperties.inc"#include "CorePropertiesEnum.inc"Go to the source code of this file.
Macros | |
| #define | LLDB_PROPERTIES_diagnostics |
| #define | LLDB_PROPERTIES_diagnostics |
Functions | |
| static void | WriteArtifact (const FileSpec &dir, llvm::StringRef name, llvm::StringRef content, std::vector< std::string > &files) |
| static void | CopyBinary (const FileSpec &src, const FileSpec &dir, 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 [] |
| #define LLDB_PROPERTIES_diagnostics |
Definition at line 46 of file Diagnostics.cpp.
| #define LLDB_PROPERTIES_diagnostics |
Definition at line 46 of file Diagnostics.cpp.
|
static |
Definition at line 242 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 211 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 190 of file Diagnostics.cpp.
References lldb_private::FileSpec::CopyByAppendingPathComponent(), lldb_private::FileSystem::Exists(), lldb_private::FileSpec::GetFilename(), lldb_private::FileSpec::GetPath(), and lldb_private::FileSystem::Instance().
Referenced by lldb_private::Diagnostics::CollectBinaries().
|
static |
Definition at line 172 of file Diagnostics.cpp.
References lldb_private::FileSpec::CopyByAppendingPathComponent(), and lldb_private::FileSpec::GetPath().
Referenced by lldb_private::Diagnostics::CollectArtifactProviders(), lldb_private::Diagnostics::CollectCommands(), and lldb_private::Diagnostics::CollectStatistics().
|
staticconstexpr |
Definition at line 76 of file Diagnostics.cpp.
Referenced by lldb_private::Diagnostics::Diagnostics().
|
staticconstexpr |
Definition at line 231 of file Diagnostics.cpp.
Referenced by lldb_private::Diagnostics::CollectCommands().