]> granicus.if.org Git - llvm/commit
[dsymutil] Print warning/error for unknown/missing arguments.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 16 Oct 2019 21:48:41 +0000 (21:48 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 16 Oct 2019 21:48:41 +0000 (21:48 +0000)
commitaa4a46afe84f5f3609fb3b44e7d79a4c3d1e1f25
tree95fc9b7cb404b43f48b41356730637504eda2421
parentc9ba7de07cc1e1e0d160503c8f055d0625be53ab
[dsymutil] Print warning/error for unknown/missing arguments.

After changing dsymutil to use libOption, we lost error reporting for
missing required arguments (input files). Additionally, we stopped
complaining about unknown arguments. This patch fixes both and adds a
test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375044 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/cmdline.test
tools/dsymutil/dsymutil.cpp