When an invalid shot command line option was used (e.g. -v) llvm-size would hang. This change fixes this issue by bringing llvm-size in line with other llvm tools and exiting early when this error is output.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
When an invalid shot command line option was used (e.g. -v) llvm-size would hang.
Thanks for catching the bug. llvm-size does not hang. It is waiting on input from stdin.
Comment Actions
In the commit message: "When an invalid short command" (typo: "shot" -> "short"). To address @MaskRay's comment, I'd change "hang" to "hang waiting for input".