aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/llvm-reduce.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2022-10-17 21:43:08 -0700
committerArthur Eubanks <aeubanks@google.com>2022-10-18 08:42:37 -0700
commit2592ccdea7a3b62bcfee4aef87fc0e2163a47d28 (patch)
tree2e3461f4159d7181b2e38ada9e34b95b35b2e5a8 /llvm/tools/llvm-reduce/llvm-reduce.cpp
parentcfc9ddaafc5d4c2b293c8e6b7c9244c4844c7c89 (diff)
downloadllvm-2592ccdea7a3b62bcfee4aef87fc0e2163a47d28.zip
llvm-2592ccdea7a3b62bcfee4aef87fc0e2163a47d28.tar.gz
llvm-2592ccdea7a3b62bcfee4aef87fc0e2163a47d28.tar.bz2
[llvm-reduce] Unify pass logging
We randomly use outs() or errs(), which makes test logs confusing. We also randomly add/don't add a line afterward. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D136130
Diffstat (limited to 'llvm/tools/llvm-reduce/llvm-reduce.cpp')
-rw-r--r--llvm/tools/llvm-reduce/llvm-reduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-reduce/llvm-reduce.cpp b/llvm/tools/llvm-reduce/llvm-reduce.cpp
index c7606b5..13c6edc 100644
--- a/llvm/tools/llvm-reduce/llvm-reduce.cpp
+++ b/llvm/tools/llvm-reduce/llvm-reduce.cpp
@@ -189,7 +189,7 @@ int main(int Argc, char **Argv) {
if (OutputFilename == "-")
Tester.getProgram().print(outs(), nullptr);
else
- writeOutput(Tester.getProgram(), "\nDone reducing! Reduced testcase: ");
+ writeOutput(Tester.getProgram(), "Done reducing! Reduced testcase: ");
return 0;
}