[all-commits] [llvm/llvm-project] a23d1e: [llvm-objdump] Simplify reportError() and prepend ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat May 30 17:26:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a23d1e9aff4d8cb752e227b3e16f887cf49c15d4
https://github.com/llvm/llvm-project/commit/a23d1e9aff4d8cb752e227b3e16f887cf49c15d4
Author: Fangrui Song <maskray at google.com>
Date: 2020-05-30 (Sat, 30 May 2020)
Changed paths:
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[llvm-objdump] Simplify reportError() and prepend outs().flush()
As noticed by dblaikie.
I don't know what code paths using reportError can cause stdout output
to be interleaved with stderr, so no test is added now.
Also drop an unneeded use of errs().fflush() in reportWarning().
I requested this in D64165.
More information about the All-commits
mailing list