This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Add method to redirect output of Compilation.
ClosedPublic

Authored by nhaustov on Jun 10 2016, 4:20 AM.

Details

Summary

Currently output of child process always goes to same stdout/stderr,
however in my use case, it needs to be captured and presented to the user.

Add Redirect method to Compilation and use existing infrastructure
for redirecting output of commands.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaustov updated this revision to Diff 60332.Jun 10 2016, 4:20 AM
nhaustov retitled this revision from to [Driver] Add method to redirect output of Compilation..
nhaustov updated this object.
nhaustov added a reviewer: tstellarAMD.
nhaustov added a subscriber: cfe-commits.
nhaustov updated this revision to Diff 60333.Jun 10 2016, 4:22 AM
nhaustov updated this object.

Fix summary.

This revision was automatically updated to reflect the committed changes.