38 m_opaque_up = std::make_unique<ProcessInstanceInfo>();
44 ref() = proc_info_ref;
49 return this->
operator bool();
51SBProcessInfo::operator
bool()
const {
109 bool is_valid =
false;
119 bool is_valid =
false;
149 bool is_valid =
false;
159 bool is_valid =
false;
#define LLDB_INSTRUMENT_VA(...)
void SetFileSpec(const lldb_private::FileSpec &fspec)
uint32_t GetNumArguments() const
Returns the number of command line arguments for the described process.
uint32_t GetEffectiveGroupID()
bool EffectiveGroupIDIsValid()
const char * GetArgumentAtIndex(uint32_t idx) const
Returns the command line argument at the given index, or nullptr if the index is out of range or if t...
lldb::pid_t GetParentProcessID()
uint32_t GetEffectiveUserID()
SBProcessInfo & operator=(const SBProcessInfo &rhs)
std::unique_ptr< lldb_private::ProcessInstanceInfo > m_opaque_up
lldb_private::ProcessInstanceInfo & ref()
bool EffectiveUserIDIsValid()
void SetProcessInfo(const lldb_private::ProcessInstanceInfo &proc_info_ref)
lldb::pid_t GetProcessID()
const char * GetTriple()
Return the target triple (arch-vendor-os) for the described process.
SBFileSpec GetExecutableFile()
A command line argument class.
size_t GetArgumentCount() const
Gets the number of arguments left in this command object.
const char * GetArgumentAtIndex(size_t idx) const
Gets the NULL terminated C string argument pointer for the argument at index idx.
A uniqued constant string class.
const char * GetCString() const
Get the string value as a C string.
#define LLDB_INVALID_PROCESS_ID
A class that represents a running process on the host machine.
std::unique_ptr< T > clone(const std::unique_ptr< T > &src)