[llvm-readobj] - An attemp to fix BB after r369191.
authorGeorge Rimar <grimar@accesssoftek.com>
Sat, 17 Aug 2019 15:24:16 +0000 (15:24 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Sat, 17 Aug 2019 15:24:16 +0000 (15:24 +0000)
commite9f28133a9fb42156a76f03e8beb85be93b793d2
tree89d7b5f3d1276a806d965f3537ceba81d7f91442
parentb3d258fc44b588f06eb35f8e4b9a6d1fc859acec
[llvm-readobj] - An attemp to fix BB after r369191.

Few BB failed with the following error:

Command Output (stderr):
--
/home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/tools/llvm-readobj/stack-sizes.test:263:19: error: BADSECTION-OUT: expected string not found in input
# BADSECTION-OUT: 8 ?
                  ^
<stdin>:4:1: note: scanning from here

^

It doesn't reproduce on ubuntu/windows I have. Also, seems many of the bots
are happy too.

This slightly reorders the code to make fouts().flush() call earlier,
like it was before the r369191.

llvm-svn: 369192
llvm/tools/llvm-readobj/llvm-readobj.cpp