summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/Resolution/X86/asm-output.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/LTO/Resolution/X86/asm-output.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/LTO/Resolution/X86/asm-output.ll')
-rw-r--r--llvm/test/LTO/Resolution/X86/asm-output.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/LTO/Resolution/X86/asm-output.ll b/llvm/test/LTO/Resolution/X86/asm-output.ll
index 68a7a5c5fc6..41d293501dd 100644
--- a/llvm/test/LTO/Resolution/X86/asm-output.ll
+++ b/llvm/test/LTO/Resolution/X86/asm-output.ll
@@ -2,9 +2,9 @@
;
; RUN: llvm-as < %s > %t1.bc
;
-; RUN: llvm-lto2 -filetype=asm -r %t1.bc,main,px -o %t2 %t1.bc
+; RUN: llvm-lto2 run -filetype=asm -r %t1.bc,main,px -o %t2 %t1.bc
; RUN: FileCheck --check-prefix=ASM %s < %t2.0
-; RUN: llvm-lto2 -filetype=obj -r %t1.bc,main,px -o %t2 %t1.bc
+; RUN: llvm-lto2 run -filetype=obj -r %t1.bc,main,px -o %t2 %t1.bc
; RUN: llvm-objdump -d %t2.0 | FileCheck --check-prefix=ASM %s
;
; ASM: main:
OpenPOWER on IntegriCloud