[all-commits] [llvm/llvm-project] 55b556: [llvm-size] Fix hang waiting for input on invalid ...

gbreynoo via All-commits all-commits at lists.llvm.org
Mon Jul 18 07:02:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55b556e60c06e0556f52163fd99e8779d606194e
      https://github.com/llvm/llvm-project/commit/55b556e60c06e0556f52163fd99e8779d606194e
  Author: gbreynoo <Owen.Reynolds at sony.com>
  Date:   2022-07-18 (Mon, 18 Jul 2022)

  Changed paths:
    M llvm/tools/llvm-size/llvm-size.cpp

  Log Message:
  -----------
  [llvm-size] Fix hang waiting for input on invalid short commandline option

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




More information about the All-commits mailing list