[PATCH] D62973: [llvm-objcopy] Changed command line parsing errors
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 02:36:13 PDT 2019
jhenderson added a comment.
> Tidied up errors during command line parsing to be more consistent with the rest of llvm-objcopy errors. Also, ensure --preserve-dates is only ever used when both input and output files are regular files.
I haven't looked in depth, and I expect there's nothing wrong with these changes, but really they should be two separate commits. One for "tidying up error messages" and the other for the --preserve-dates check. Could you split them up before committing, please?
Also a quick tip for when writing tests for bug fixes: make sure the test fails prior to your change in the way you'd expect it to. This would have picked up the missing FileCheck, above I believe.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62973/new/
https://reviews.llvm.org/D62973
More information about the llvm-commits
mailing list