]> granicus.if.org Git - clang/commit
[Driver] Add method to redirect output of Compilation.
authorNikolay Haustov <Nikolay.Haustov@amd.com>
Tue, 28 Jun 2016 08:00:42 +0000 (08:00 +0000)
committerNikolay Haustov <Nikolay.Haustov@amd.com>
Tue, 28 Jun 2016 08:00:42 +0000 (08:00 +0000)
commite6404a0de8f82c7e8e9b580a80d4af9cae0ebeee
treef8b4eabcbb1efd6de6156c53e03bc4235b2d3906
parent9b8dfc4641cd7c67f2ecf7d569642f6c8280282e
[Driver] Add method to redirect output of Compilation.

Summary:
Currently output of child process, 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.

Reviewers: tstellarAMD

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D21224

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273997 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Compilation.h
lib/Driver/Compilation.cpp