summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/print-after.ll
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-02-28 19:08:01 +0000
committerJustin Bogner <mail@justinbogner.com>2014-02-28 19:08:01 +0000
commit02b958422c0b6177eb693f55544ecfeebe55d210 (patch)
tree0fc2fcabedafbc1309ced0f184d77eb737769800 /llvm/test/CodeGen/Generic/print-after.ll
parent382ba41c4802fd3324ff8b9f775ae96fe14a466a (diff)
downloadbcm5719-llvm-02b958422c0b6177eb693f55544ecfeebe55d210.tar.gz
bcm5719-llvm-02b958422c0b6177eb693f55544ecfeebe55d210.zip
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. llvm-svn: 202530
Diffstat (limited to 'llvm/test/CodeGen/Generic/print-after.ll')
-rw-r--r--llvm/test/CodeGen/Generic/print-after.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Generic/print-after.ll b/llvm/test/CodeGen/Generic/print-after.ll
index 7505907ef77..1b7ce84a8a5 100644
--- a/llvm/test/CodeGen/Generic/print-after.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud