summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-11-25 19:03:08 +0000
committerZachary Turner <zturner@google.com>2014-11-25 19:03:08 +0000
commit82da55fe57baaafc9b5e7cb989ff08d80b697a1d (patch)
treeb2d04c4b0f3fc94f3d6428f1c49434b016b61b89 /lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
parent9f877de2e69262f85c9194f6b782a599ad313796 (diff)
downloadbcm5719-llvm-82da55fe57baaafc9b5e7cb989ff08d80b697a1d.tar.gz
bcm5719-llvm-82da55fe57baaafc9b5e7cb989ff08d80b697a1d.zip
Disable GetSTDOUT, GetSTDERR, and PutSTDIN on Windows.
These methods are difficult / impossible to implement in a way that is semantically equivalent to the expectations set by LLDB for using them. In the future, we should find an alternative strategy (for example, i/o redirection) for achieving similar functionality, and hopefully deprecate these APIs someday. llvm-svn: 222775
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/ProcessWindows.cpp')
-rw-r--r--lldb/source/Plugins/Process/Windows/ProcessWindows.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
index 3522a959c5e..c55aa7116a4 100644
--- a/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
+++ b/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
@@ -121,6 +121,26 @@ ProcessWindows::GetPluginDescriptionStatic()
return "Process plugin for Windows";
}
+size_t
+ProcessWindows::GetSTDOUT(char *buf, size_t buf_size, Error &error)
+{
+ error.SetErrorString("GetSTDOUT unsupported on Windows");
+ return 0;
+}
+
+size_t
+ProcessWindows::GetSTDERR(char *buf, size_t buf_size, Error &error)
+{
+ error.SetErrorString("GetSTDERR unsupported on Windows");
+ return 0;
+}
+
+size_t
+ProcessWindows::PutSTDIN(const char *buf, size_t buf_size, Error &error)
+{
+ error.SetErrorString("PutSTDIN unsupported on Windows");
+ return 0;
+}
bool
ProcessWindows::UpdateThreadList(ThreadList &old_thread_list, ThreadList &new_thread_list)
OpenPOWER on IntegriCloud