diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-02-28 19:08:01 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-02-28 19:08:01 +0000 |
commit | 4ef6a7bf69a7a53600ad1dc04277b1e3d451869c (patch) | |
tree | 4557a835f687720e639fbe388a3192324dd7559e /test/CodeGen/Generic | |
parent | 1b5d421e4d7a9c797053d4bc918937b0297e4277 (diff) | |
download | llvm-4ef6a7bf69a7a53600ad1dc04277b1e3d451869c.tar.gz llvm-4ef6a7bf69a7a53600ad1dc04277b1e3d451869c.tar.bz2 llvm-4ef6a7bf69a7a53600ad1dc04277b1e3d451869c.tar.xz |
CommandLine: Exit successfully for -version and -help
Tools that use the CommandLine library currently exit with an error
when invoked with -version or -help. This is unusual and non-standard,
so we'll fix them to exit successfully instead.
I don't expect that anyone relies on the current behaviour, so this
should be a fairly safe change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic')
-rw-r--r-- | test/CodeGen/Generic/print-after.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Generic/print-after.ll b/test/CodeGen/Generic/print-after.ll index 7505907ef7..1b7ce84a8a 100644 --- a/test/CodeGen/Generic/print-after.ll +++ b/test/CodeGen/Generic/print-after.ll @@ -1,4 +1,4 @@ -; RUN: not llc --help-hidden 2>&1 | FileCheck %s +; RUN: llc --help-hidden 2>&1 | FileCheck %s ; CHECK: -print-after ; CHECK-NOT: -print-after-all |