This should be implied by --use-reproducer instead as a path is required
for this mode
Details
Details
- Reviewers
JDevlieghere - Commits
- rG2f268b74fdcd: [dsymutil] Disallow --reproducer=Use
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm wondering if we shouldn't just hide the Use mode from the user and make that an implementation detail. The help string for the --reproducer option already says:
Specify the reproducer generation mode.
Limiting the option to /generation/ modes (GenerateOnExit, GenerateOnCrash and Off) makes sense to me conceptually.
The help string for --use-reproducer is also wrong:
Use the object files from the given reproducer path. Alias for --reproducer=Use.
The flag is not an alias but rather implies --reproducer=Use which could be an implementation detail.
Comment Actions
Yea I wondered the same thing but went with the initial approach since it was in the help doc. Changed to just disallow that value instead