summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorLawrence D'Anna <lawrence_danna@apple.com>2019-10-03 04:31:46 +0000
committerLawrence D'Anna <lawrence_danna@apple.com>2019-10-03 04:31:46 +0000
commitf913fd6eb0c228041b77a645d76993760d3b1421 (patch)
tree9d33e1b8a85f1fbccf83cc3f59efeed7aa4511c3 /lldb/source/Target/Process.cpp
parent96898eb6a935533aaebbfbd085150fbf705c0ffc (diff)
downloadbcm5719-llvm-f913fd6eb0c228041b77a645d76993760d3b1421.tar.gz
bcm5719-llvm-f913fd6eb0c228041b77a645d76993760d3b1421.zip
factor out an abstract base class for File
Summary: This patch factors out File as an abstract base class and moves most of its actual functionality into a subclass called NativeFile. In the next patch, I'm going to be adding subclasses of File that don't necessarily have any connection to actual OS files, so they will not inherit from NativeFile. This patch was split out as a prerequisite for https://reviews.llvm.org/D68188 Reviewers: JDevlieghere, jasonmolenda, labath Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D68317 llvm-svn: 373564
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index d0008023147..ed0b951fbce 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -4422,9 +4422,9 @@ public:
protected:
Process *m_process;
- File m_read_file; // Read from this file (usually actual STDIN for LLDB
- File m_write_file; // Write to this file (usually the master pty for getting
- // io to debuggee)
+ NativeFile m_read_file; // Read from this file (usually actual STDIN for LLDB
+ NativeFile m_write_file; // Write to this file (usually the master pty for
+ // getting io to debuggee)
Pipe m_pipe;
std::atomic<bool> m_is_running{false};
};
OpenPOWER on IntegriCloud