[llvm-objcopy] Append '\n' to warning messages
authorFangrui Song <maskray@google.com>
Tue, 20 Aug 2019 15:00:07 +0000 (15:00 +0000)
committerFangrui Song <maskray@google.com>
Tue, 20 Aug 2019 15:00:07 +0000 (15:00 +0000)
commitebd50291e8cf5911eb9c2da54389d93312caadd2
tree634bec0c919b3d8259468a624ae198bfcc708ebf
parenta90ee0eeb6abb32a641caa56976f4cc2f7d27975
[llvm-objcopy] Append '\n' to warning messages

Currently the warning message of `llvm-strip %t.o %t.o` does not include
the trailing newline. Fix this by appending a '\n'.

This is the only warning llvm-objcopy and llvm-strip can issue.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D66475

llvm-svn: 369391
llvm/test/tools/llvm-objcopy/ELF/same-file-strip.test
llvm/tools/llvm-objcopy/llvm-objcopy.cpp