LLDB mainline
|
#include "lldb/Utility/Status.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/VASPrintf.h"
#include "lldb/lldb-defines.h"
#include "lldb/lldb-enumerations.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/FormatProviders.h"
#include <cerrno>
#include <cstdarg>
#include <string>
#include <system_error>
#include <cstdint>
Go to the source code of this file.
Namespaces | |
namespace | llvm |
Functions | |
static llvm::Error | ErrorFromEnums (Status::ValueType err, ErrorType type, std::string msg) |
static llvm::Error | CloneError (const llvm::Error &error) |
Creates a deep copy of all known errors and converts all other errors to a new llvm::StringError. | |
static ErrorType | ErrorCodeToErrorType (std::error_code ec) |
|
static |
Creates a deep copy of all known errors and converts all other errors to a new llvm::StringError.
Definition at line 121 of file Status.cpp.
References lldb_private::CloneableError::Clone(), lldb_private::clone(), and error().
Referenced by lldb_private::Status::ToError().
|
static |
Definition at line 234 of file Status.cpp.
References lldb::eErrorTypeGeneric, lldb::eErrorTypeInvalid, and lldb::eErrorTypePOSIX.
Referenced by lldb_private::CloneableECError::GetErrorType(), and lldb_private::Status::GetType().
|
static |
Definition at line 61 of file Status.cpp.
References lldb::eErrorTypeMachKernel, lldb::eErrorTypePOSIX, and lldb::eErrorTypeWin32.