LLDB mainline
Classes | Namespaces | Macros
Status.h File Reference
#include "lldb/Utility/FileSpec.h"
#include "lldb/lldb-defines.h"
#include "lldb/lldb-enumerations.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include <cstdarg>
#include <cstdint>
#include <string>
#include <system_error>
#include <type_traits>

Go to the source code of this file.

Classes

class  lldb_private::CloneableError
 Going a bit against the spirit of llvm::Error, lldb_private::Status need to store errors long-term and sometimes copy them. More...
 
class  lldb_private::CloneableECError
 Common base class for all error-code errors. More...
 
class  lldb_private::MachKernelError
 FIXME: Move these declarations closer to where they're used. More...
 
class  lldb_private::Win32Error
 
class  lldb_private::Status
 An error handling class. More...
 
struct  llvm::format_provider< lldb_private::Status >
 

Namespaces

namespace  llvm
 
namespace  lldb_private
 A class that represents a running process on the host machine.
 

Macros

#define LLDB_ERRORF(status, fmt, ...)
 

Macro Definition Documentation

◆ LLDB_ERRORF

#define LLDB_ERRORF (   status,
  fmt,
  ... 
)
Value:
do { \
if (status) { \
(status)->SetErrorStringWithFormat((fmt), __VA_ARGS__); \
} \
} while (0);

Definition at line 245 of file Status.h.