summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-lto2/errors.ll
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-04-11 18:12:00 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-04-11 18:12:00 +0000
commit7faa60c406e501d4b78f1355a89de68023d78381 (patch)
tree161f4e5acb324920181eae00ce1ccadc6e9385e0 /llvm/test/tools/llvm-lto2/errors.ll
parent271b2245f40af1c363d10404d0c4d7c5e64d19c3 (diff)
downloadbcm5719-llvm-7faa60c406e501d4b78f1355a89de68023d78381.tar.gz
bcm5719-llvm-7faa60c406e501d4b78f1355a89de68023d78381.zip
llvm-lto2: Move the LTO::run() action behind a subcommand.
Move LTO::run() to a "run" subcommand so that we can introduce new subcommands for testing different parts of the LTO implementation. This doesn't use llvm::cl subcommands because it doesn't appear to be currently possible to pass an argument not associated with a subcommand to a subcommand (e.g. -lto-use-new-pm, -mcpu=yonah). Differential Revision: https://reviews.llvm.org/D31410 llvm-svn: 299967
Diffstat (limited to 'llvm/test/tools/llvm-lto2/errors.ll')
-rw-r--r--llvm/test/tools/llvm-lto2/errors.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-lto2/errors.ll b/llvm/test/tools/llvm-lto2/errors.ll
index bc1f767d14f..aa12a671759 100644
--- a/llvm/test/tools/llvm-lto2/errors.ll
+++ b/llvm/test/tools/llvm-lto2/errors.ll
@@ -1,8 +1,8 @@
; RUN: llvm-as %s -o %t.bc
-; RUN: not llvm-lto2 -o %t2.o %t.bc 2>&1 | FileCheck --check-prefix=ERR1 %s
-; RUN: not llvm-lto2 -o %t2.o -r %t.bc,foo,p -r %t.bc,bar,p %t.bc 2>&1 | FileCheck --check-prefix=ERR2 %s
-; RUN: not llvm-lto2 -o %t2.o -r %t.bc,foo,q %t.bc 2>&1 | FileCheck --check-prefix=ERR3 %s
-; RUN: not llvm-lto2 -o %t2.o -r foo %t.bc 2>&1 | FileCheck --check-prefix=ERR4 %s
+; RUN: not llvm-lto2 run -o %t2.o %t.bc 2>&1 | FileCheck --check-prefix=ERR1 %s
+; RUN: not llvm-lto2 run -o %t2.o -r %t.bc,foo,p -r %t.bc,bar,p %t.bc 2>&1 | FileCheck --check-prefix=ERR2 %s
+; RUN: not llvm-lto2 run -o %t2.o -r %t.bc,foo,q %t.bc 2>&1 | FileCheck --check-prefix=ERR3 %s
+; RUN: not llvm-lto2 run -o %t2.o -r foo %t.bc 2>&1 | FileCheck --check-prefix=ERR4 %s
; ERR1: missing symbol resolution for {{.*}}.bc,foo
; ERR2: unused symbol resolution for {{.*}}.bc,bar
OpenPOWER on IntegriCloud