[DebugInfo] Remove unnecessary flushes and add additional testing
authorJames Henderson <james.henderson@sony.com>
Tue, 26 May 2020 13:49:48 +0000 (14:49 +0100)
committerJames Henderson <james.henderson@sony.com>
Tue, 9 Jun 2020 12:50:58 +0000 (13:50 +0100)
commit6378167409b3bf31f58f2356d6ded17c849425b9
tree91102e9d97ef3812cde085b7d2661039b1533e1f
parentcb9191c0424b9112bf93a3526bcabbe87cd35a92
[DebugInfo] Remove unnecessary flushes and add additional testing

The flushes previously existed to help ensure consistent error message
output when stdout and stderr were passed to the same location. This is
no longer necessary as errs() is now tied to outs().

Reviewed by: dblaikie, MaskRay, JDevlieghere, labath

Differential Revision: https://reviews.llvm.org/D80803
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test