Set the exit code (llvm-objcopy/llvm-strip) to 1 if no arguments are specified
(binutils objcopy does the same).
Test plan: make check-all
Differential D46547
[llvm-objcopy] Fix the exit code alexander-shaposhnikov on May 7 2018, 1:42 PM. Authored by
Details Set the exit code (llvm-objcopy/llvm-strip) to 1 if no arguments are specified Test plan: make check-all
Diff Detail
Event TimelineComment Actions LGTM I checked that this is consistent with objcopy (and it would seem other tools as well). Seems acceptable to me as is.
|
(just in case - this class doesn't have empty() (yet) - that's why it's a little bit more verbose than probably it could be)