mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 08:16:08 +00:00

When an invalid shot command line option was used (e.g. -v) llvm-size would hang waiting on input from stdin. This change fixes this issue by bringing llvm-size in line with other llvm tools and exiting early when this error is output. Differential Revision: https://reviews.llvm.org/D129866