diff options
author | Pavel Labath <pavel@labath.sk> | 2019-01-08 11:55:19 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-01-08 11:55:19 +0000 |
commit | 8e55ddef8c141fd204fcbfefafff70e3b150efd7 (patch) | |
tree | 71aa079c62ae0b7c06806a62c36d13d9b74da440 /llvm/lib | |
parent | 6135b0f88c83a480d7c2116ac9c0e589f536e0c4 (diff) | |
download | bcm5719-llvm-8e55ddef8c141fd204fcbfefafff70e3b150efd7.tar.gz bcm5719-llvm-8e55ddef8c141fd204fcbfefafff70e3b150efd7.zip |
ProcessLaunchInfo: Remove Target reference
Summary:
The target was being used in FinalizeFileActions to provide default
values for stdin/out/err. Also, most of the logic of this function was
very specific to how the lldb's Target class wants to launch processes,
so I, move it to Target::FinalizeFileActions, inverting the dependency.
The only piece of logic that was useful elsewhere (lldb-server) was the
part which sets up a pty and relevant file actions. I've kept this part
as ProcessLaunchInfo::SetUpPtyRedirection.
This makes ProcessLaunchInfo independent of any high-level lldb constructs.
Reviewers: zturner, jingham, teemperor
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D56196
llvm-svn: 350617
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions