This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Remove dead Process::GetSTDERR implementation
AcceptedPublic

Authored by teemperor on Oct 18 2021, 7:47 AM.

Details

Reviewers
clayborg
labath
Summary

From what I can see this just reads from some internal storage that is never written to
(aside from AppendSTDERR which is never called anywhere).

Diff Detail

Event Timeline

teemperor requested review of this revision.Oct 18 2021, 7:47 AM
teemperor created this revision.
labath accepted this revision.Oct 18 2021, 11:21 PM

We currently redirect inferior stdout and stderr streams into a pty, so they come out mixed at the other end. If we wanted to separate them, we'd have to redirect one of them (stderr, I guess) somewhere else (a pipe maybe). That shouldn't be too hard, though it would mean that the application environment is different than it would be when normally running in a terminal, and so I'm not sure if it's really worth it.

In any case, it should be easy to resurrect this code if we decide to go in that direction.

This revision is now accepted and ready to land.Oct 18 2021, 11:21 PM