This patch is extracted from D99055 to do functional change separately
from pure refactoring. While handling llvm-objcopy command line options
there is a check for options non-supported on the concrete format.
This check is done differently for various formats. Some formats check
for unsupported options before handling normal options. Other formats
check for unsupported options after handling normal options.
This patch makes processing similar for all formats. It firstly checks
for unsupported options and then handle normal options.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Seems OK /if/ we go in the direction of D99055 (so please hold off on committing this until that one's approved/settled). Specifically: If we don't go in that direction, it seems good that each of these checks are in the format-specific parts of the code, rather than all together in the main part of the code.