mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
6517513ff1
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
4 lines
126 B
Plaintext
4 lines
126 B
Plaintext
RUN: llvm-cat -o %t.o
|
|
RUN: not llvm-lto2 run -o %t2 %t.o 2>&1 | FileCheck %s
|
|
CHECK: Bitcode file does not contain any modules
|