HomePhabricator

Fix a crash in option parsing.

Authored by aprantl on Jun 11 2019, 2:14 PM.

Description

Fix a crash in option parsing.

The call to getopt_long didn't handle the case where the *last* option
had an argument missing.

rdar://problem/51231882

Differential Revision: https://reviews.llvm.org/D63110

llvm-svn: 363101

Details

Committed
aprantlJun 11 2019, 2:14 PM
Differential Revision
D63110: Fix a crash in option parsing.
Parents
rG4c3722aea81a: [docs] Add "GNU binutils Replacements" section to command guide
Branches
Unknown
Tags
Unknown