9#ifndef LLDB_API_SBERROR_H
10#define LLDB_API_SBERROR_H
15class ScriptInterpreter;
39 const char *GetCString()
const;
47 uint32_t GetError()
const;
53 void SetErrorToErrno();
55 void SetErrorToGenericError();
57 void SetErrorString(
const char *err_str);
63 %varargs(3,
char *str = NULL) SetErrorStringWithFormat;
66 int SetErrorStringWithFormat(
const char *format, ...);
68 explicit operator bool()
const;
98 friend class lldb_private::python::SWIGBridge;
115 void CreateIfNeeded();
static llvm::raw_ostream & error(Stream &strm)
std::unique_ptr< lldb_private::Status > m_opaque_up
__attribute__((format(printf, 2, 3))) int SetErrorStringWithFormat(const char *format
The SBReproducer class is special because it bootstraps the capture and replay of SB API calls.
A class that represents a running process on the host machine.