llvm-project/llvm/test/CodeGen/MIR/Generic
Justin Lebar c75d566f56 When printing MIR, output to errs() rather than outs().
Summary:
Without this, this command

  $ llvm-run llc -stop-after machine-cp -o - <( echo '' )

outputs an error, because we close stdout twice -- once when closing the
file opened for "-o", and again when closing outs().

Also clarify in the outs() definition that you can't ever call it if you
want to open your own raw_fd_ostream on stdout.

Reviewers: jroelofs, tstellarAMD

Subscribers: jholewinski, qcolombet, dsanders, llvm-commits

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

llvm-svn: 261286
2016-02-19 00:18:46 +00:00
..
basic-blocks.mir When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00
expected-colon-after-basic-block.mir
expected-mbb-reference-for-successor-mbb.mir
frame-info.mir When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00
function-missing-machine-function.mir
invalid-jump-table-kind.mir
lit.local.cfg
llvm-ir-error-reported.mir
llvmIR.mir When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00
llvmIRMissing.mir When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00
machine-basic-block-ir-block-reference.mir When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00
machine-basic-block-redefinition-error.mir
machine-basic-block-undefined-ir-block.mir
machine-basic-block-unknown-name.mir
machine-function-missing-body-error.mir
machine-function-missing-function.mir
machine-function-missing-name.mir
machine-function-redefinition-error.mir
machine-function.mir When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00
register-info.mir When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00