Think this will fix issues with the error messages generated for malformed-archives...
authorKevin Enderby <enderby@apple.com>
Fri, 29 Jul 2016 22:32:02 +0000 (22:32 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 29 Jul 2016 22:32:02 +0000 (22:32 +0000)
commit31b07f14451454847a79f84f220976e753a38ed8
tree51f8ae7dc48f7214284c37f5042ae36471141335
parent5ac0d7c5adb3a650b1b7635b75b13a4cc3b8532d
Think this will fix issues with the error messages generated for malformed-archives.test
in r277177 and added back this test which was deleted in r277196 while
I tracked down these problems.

Changed from constructing Twine's to std::string's as Twine's don't work
across statements.  Also removed a few unneeded Twine() constructions.

Fix the write_escaped() calls to not pass the unintended second argument
fixing the warning on the ld-x86_64-win7 bot.

llvm-svn: 277223
llvm/lib/Object/Archive.cpp
llvm/test/tools/llvm-objdump/malformed-archives.test [new file with mode: 0644]