diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-04-11 18:12:00 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-04-11 18:12:00 +0000 |
commit | be0ad757ca983d9b275023777f6dea711ba9e11e (patch) | |
tree | 7eb7891cf761c5903bf0e20171d7c522559f7bfc /test/LTO/Resolution/X86/diagnostic-handler-remarks.ll | |
parent | 3a60ccfe457b5dbebdb1bc8a25c2d9ef1fbb547d (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LTO/Resolution/X86/diagnostic-handler-remarks.ll')
-rw-r--r-- | test/LTO/Resolution/X86/diagnostic-handler-remarks.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll b/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll index 0ad4ea63db5..eb1bca3670c 100644 --- a/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll +++ b/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s >%t.bc ; RUN: rm -f %t.yaml -; RUN: llvm-lto2 -pass-remarks-output=%t.yaml \ +; RUN: llvm-lto2 run -pass-remarks-output=%t.yaml \ ; RUN: -r %t.bc,tinkywinky,p \ ; RUN: -r %t.bc,patatino,px \ ; RUN: -r %t.bc,main,px -o %t.o %t.bc |