LLDB mainline
|
Public Member Functions | |
IOHandlerProcessSTDIO (Process *process, int write_fd) | |
~IOHandlerProcessSTDIO () override=default | |
void | SetIsRunning (bool running) |
void | Run () override |
void | Cancel () override |
bool | Interrupt () override |
void | GotEOF () override |
Public Member Functions inherited from lldb_private::IOHandler | |
IOHandler (Debugger &debugger, IOHandler::Type type) | |
IOHandler (Debugger &debugger, IOHandler::Type type, const lldb::FileSP &input_sp, const lldb::StreamFileSP &output_sp, const lldb::StreamFileSP &error_sp, uint32_t flags) | |
virtual | ~IOHandler () |
virtual void | Run ()=0 |
virtual void | Cancel ()=0 |
virtual bool | Interrupt ()=0 |
virtual void | GotEOF ()=0 |
bool | IsActive () |
void | SetIsDone (bool b) |
bool | GetIsDone () |
Type | GetType () const |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | TerminalSizeChanged () |
virtual const char * | GetPrompt () |
virtual bool | SetPrompt (llvm::StringRef prompt) |
bool | SetPrompt (const char *)=delete |
virtual llvm::StringRef | GetControlSequence (char ch) |
virtual const char * | GetCommandPrefix () |
virtual const char * | GetHelpPrologue () |
int | GetInputFD () |
int | GetOutputFD () |
int | GetErrorFD () |
FILE * | GetInputFILE () |
FILE * | GetOutputFILE () |
FILE * | GetErrorFILE () |
lldb::FileSP | GetInputFileSP () |
lldb::StreamFileSP | GetOutputStreamFileSP () |
lldb::StreamFileSP | GetErrorStreamFileSP () |
Debugger & | GetDebugger () |
void * | GetUserData () |
void | SetUserData (void *user_data) |
Flags & | GetFlags () |
const Flags & | GetFlags () const |
bool | GetIsInteractive () |
Check if the input is being supplied interactively by a user. | |
bool | GetIsRealTerminal () |
Check if the input is coming from a real terminal. | |
void | SetPopped (bool b) |
void | WaitForPop () |
virtual void | PrintAsync (const char *s, size_t len, bool is_stdout) |
std::recursive_mutex & | GetOutputMutex () |
Protected Attributes | |
Process * | m_process |
NativeFile | m_read_file |
NativeFile | m_write_file |
Pipe | m_pipe |
std::mutex | m_mutex |
bool | m_is_running = false |
Protected Attributes inherited from lldb_private::IOHandler | |
Debugger & | m_debugger |
lldb::FileSP | m_input_sp |
lldb::StreamFileSP | m_output_sp |
lldb::StreamFileSP | m_error_sp |
std::recursive_mutex | m_output_mutex |
Predicate< bool > | m_popped |
Flags | m_flags |
Type | m_type |
void * | m_user_data |
bool | m_done |
bool | m_active |
Additional Inherited Members | |
Public Types inherited from lldb_private::IOHandler | |
enum class | Type { CommandInterpreter , CommandList , Confirm , Curses , Expression , REPL , ProcessIO , PythonInterpreter , LuaInterpreter , PythonCode , Other } |
Definition at line 4604 of file Process.cpp.
|
inline |
Definition at line 4606 of file Process.cpp.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::IOHandler.
Definition at line 4686 of file Process.cpp.
|
inlineoverridevirtual |
Implements lldb_private::IOHandler.
Definition at line 4736 of file Process.cpp.
|
inlineoverridevirtual |
Implements lldb_private::IOHandler.
Definition at line 4707 of file Process.cpp.
References lldb_private::StateIsRunningState(), and lldb_private::Status::Success().
|
inlineoverridevirtual |
Implements lldb_private::IOHandler.
Definition at line 4625 of file Process.cpp.
References error(), SelectHelper::FDIsSetRead(), SelectHelper::FDSetRead(), SelectHelper::Select(), lldb_private::Terminal::SetCanonical(), lldb_private::Terminal::SetEcho(), and lldb_private::StateIsRunningState().
|
inline |
Definition at line 4617 of file Process.cpp.
|
protected |
Definition at line 4745 of file Process.cpp.
|
protected |
Definition at line 4744 of file Process.cpp.
|
protected |
Definition at line 4743 of file Process.cpp.
|
protected |
Definition at line 4739 of file Process.cpp.
|
protected |
Definition at line 4740 of file Process.cpp.
|
protected |
Definition at line 4741 of file Process.cpp.