Add some options present in ld64 but absent here: -tvos_version_min, watchos_version_min, bridgeos_version_min, and driverkit_version_min.
For sake of organization in the --help output, coalesce all version-control options into a new option group.
Details
- Reviewers
compnerd int3 - Group Reviewers
Restricted Project - Commits
- rG0ef25cf558bf: [lld-macho][NFC] Add new option group for versions
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This adds additional options while also adding a group for the versions. Is there a reason for the group to be added? Can you please either remove the newly added options or adjust the commit message? I think that there should be some reasoning given for the version group creation (at least, it isn't clear to me why the group is helpful/necessary, unlike in clang where the group can be used to silence warnings).
We've been pretty liberal with our use of option groups, mostly to organize the help text. I agree that the commit message should reflect that there's some new version options being added as well (tvos, watchos, bridgeos, and driverkit, if I'm reading the diff right).
Sure, but if the reason for the group is to add structure to the help output, I think that is a reasonable thing to state in the commit message. The other options are ... well, either not meant to be part of the commit as per the commit message or the commit message should be updated to indicate that they are being added (and why they are part of structuring the help output, assuming that is the reason for the group). The changes requested are requests for clarification :)
lld/MachO/Options.td | ||
---|---|---|
250 | seems like you missed this |
nit: usable is the more common spelling