]> granicus.if.org Git - llvm/commit
[Bugpoint redesign] Output option can now print to STDOUT
authorDiego Trevino Ferrer <diegof30@gmail.com>
Thu, 15 Aug 2019 22:39:43 +0000 (22:39 +0000)
committerDiego Trevino Ferrer <diegof30@gmail.com>
Thu, 15 Aug 2019 22:39:43 +0000 (22:39 +0000)
commit218112228c48d3353f47b242b8713984cdd1baec
treea5f6a92c3f80ec2da6c38a2a62872292a1f4d98f
parentcac28c1ba659903d896297f5a122d294e85768f3
[Bugpoint redesign] Output option can now print to STDOUT

Summary:
This also changes all the outs() statements to errs() so the output and
progress streams don't get mixed.

This has been added because D64176 had flaky tests, which I believe were because the reduced file was being catted into `FileCheck`, instead of being pass from STDOUT directly.

Reviewers: chandlerc, dblaikie, xbolva00

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66314

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369060 91177308-0d34-0410-b5e6-96231b3b80d8
test/Reduce/remove-funcs.ll
tools/llvm-reduce/TestRunner.cpp
tools/llvm-reduce/deltas/Delta.cpp
tools/llvm-reduce/deltas/Delta.h
tools/llvm-reduce/deltas/ReduceFunctions.cpp
tools/llvm-reduce/llvm-reduce.cpp