]> granicus.if.org Git - llvm/commit
[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)
commitde323b2a4e16e0f883c7c78c9fecf32d848560c2
treeb38f1fddc5b945d528f4519d635098c02367cd4d
parentafb27048eb3dab89c0d7ebd1abe97093861f5e8d
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369391 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/ELF/same-file-strip.test
tools/llvm-objcopy/llvm-objcopy.cpp