[llvm-objcopy] Consistently use createStringError instead of make_error<StringError>
commitaf4ba554dc413a1257ed10e76aa02c55d4278ea2
authorMartin Storsjo <martin@martin.st>
Tue, 22 Jan 2019 10:57:59 +0000 (22 10:57 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 22 Jan 2019 10:57:59 +0000 (22 10:57 +0000)
tree1312cfd6325f994ce8f1a6819dce40f6022b7315
parent3df9d0508c1124fd692acb433f3ff97014f18456
[llvm-objcopy] Consistently use createStringError instead of make_error<StringError>

This was requested in the review of D57006.

Also add missing quotes around symbol names in error messages.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351799 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/COFF/remove-section.test
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
tools/llvm-objcopy/COFF/Object.cpp
tools/llvm-objcopy/COFF/Reader.cpp
tools/llvm-objcopy/COFF/Writer.cpp
tools/llvm-objcopy/ELF/ELFObjcopy.cpp