LLDB
mainline
|
#include "CommandObjectReproducer.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Utility/GDBRemote.h"
#include "lldb/Utility/ProcessInfo.h"
#include "lldb/Utility/Reproducer.h"
#include <csignal>
#include "CommandOptions.inc"
Go to the source code of this file.
Macros | |
#define | LLDB_OPTIONS_reproducer_dump |
#define | LLDB_OPTIONS_reproducer_xcrash |
#define | LLDB_OPTIONS_reproducer_verify |
Functions | |
static constexpr OptionEnumValues | ReproducerProviderType () |
static constexpr OptionEnumValues | ReproducerSignalType () |
template<typename T > | |
static llvm::Expected< T > | ReadFromYAML (StringRef filename) |
static void | SetError (CommandReturnObject &result, Error err) |
static Loader * | GetLoaderFromPathOrCurrent (llvm::Optional< Loader > &loader_storage, CommandReturnObject &result, FileSpec reproducer_path) |
Create a loader from the given path if specified. More... | |
Variables | |
static constexpr OptionEnumValueElement | g_reproducer_provider_type [] |
static constexpr OptionEnumValueElement | g_reproducer_signaltype [] |
#define LLDB_OPTIONS_reproducer_dump |
Definition at line 91 of file CommandObjectReproducer.cpp.
#define LLDB_OPTIONS_reproducer_verify |
Definition at line 119 of file CommandObjectReproducer.cpp.
#define LLDB_OPTIONS_reproducer_xcrash |
Definition at line 116 of file CommandObjectReproducer.cpp.
Enumerator | |
---|---|
eReproducerCrashSigill | |
eReproducerCrashSigsegv |
Definition at line 94 of file CommandObjectReproducer.cpp.
enum ReproducerProvider |
Definition at line 27 of file CommandObjectReproducer.cpp.
|
static |
Create a loader from the given path if specified.
Otherwise use the current loader used for replay.
Definition at line 147 of file CommandObjectReproducer.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::eReturnStatusSuccessFinishNoResult, lldb_private::repro::Loader::LoadIndex(), SetError(), and lldb_private::CommandReturnObject::SetStatus().
Referenced by CommandObjectReproducerDump::DoExecute().
|
static |
Definition at line 123 of file CommandObjectReproducer.cpp.
Referenced by CommandObjectReproducerDump::DoExecute().
|
staticconstexpr |
Definition at line 87 of file CommandObjectReproducer.cpp.
References g_reproducer_provider_type.
|
staticconstexpr |
Definition at line 112 of file CommandObjectReproducer.cpp.
References g_reproducer_signaltype.
|
static |
Definition at line 140 of file CommandObjectReproducer.cpp.
References lldb_private::CommandReturnObject::AppendError(), and lldb_private::toString().
Referenced by CommandObjectReproducerDump::DoExecute(), GetLoaderFromPathOrCurrent(), RegisterContextDarwin_x86_64_Mach::SetRegisterDataFrom_LC_THREAD(), RegisterContextDarwin_i386_Mach::SetRegisterDataFrom_LC_THREAD(), RegisterContextDarwin_arm_Mach::SetRegisterDataFrom_LC_THREAD(), and RegisterContextDarwin_arm64_Mach::SetRegisterDataFrom_LC_THREAD().
|
staticconstexpr |
Definition at line 39 of file CommandObjectReproducer.cpp.
Referenced by ReproducerProviderType().
|
staticconstexpr |
Definition at line 99 of file CommandObjectReproducer.cpp.
Referenced by ReproducerSignalType().