diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-29 00:22:28 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-29 00:22:28 +0000 |
commit | cef2af0f3ca753f2a804183fd43760c450682613 (patch) | |
tree | a2aa89d589b36863f97e4df75e2479eceaae685e /llvm/lib/TextAPI | |
parent | f2143761d6450d7be992f69602e1826e3e5774f4 (diff) | |
download | bcm5719-llvm-cef2af0f3ca753f2a804183fd43760c450682613.tar.gz bcm5719-llvm-cef2af0f3ca753f2a804183fd43760c450682613.zip |
[driver] Fix --core/-c and add test
Because the optarg variable was shadowed we didn't notice we weren't
extracting the value from the option. This patch fixes that and renames
the variable to prevent this from happening in the future.
I also added two tests to check the error output for --core and --file
when the given value doesn't exist.
llvm-svn: 347821
Diffstat (limited to 'llvm/lib/TextAPI')
0 files changed, 0 insertions, 0 deletions