[PATCH] D31410: llvm-lto2: Move the LTO::run() action behind a subcommand.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 16:51:39 PDT 2017


pcc created this revision.

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).


https://reviews.llvm.org/D31410

Files:
  llvm/test/LTO/Resolution/X86/alias.ll
  llvm/test/LTO/Resolution/X86/asm-output.ll
  llvm/test/LTO/Resolution/X86/comdat.ll
  llvm/test/LTO/Resolution/X86/common2.ll
  llvm/test/LTO/Resolution/X86/commons.ll
  llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll
  llvm/test/LTO/Resolution/X86/empty-bitcode.test
  llvm/test/LTO/Resolution/X86/intrinsic.ll
  llvm/test/LTO/Resolution/X86/link-odr-availextern.ll
  llvm/test/LTO/Resolution/X86/lowertypetests.ll
  llvm/test/LTO/Resolution/X86/mixed_lto.ll
  llvm/test/LTO/Resolution/X86/multi-thinlto.ll
  llvm/test/LTO/X86/symver-asm.ll
  llvm/test/LTO/X86/symver-asm2.ll
  llvm/test/ThinLTO/X86/cache-config.ll
  llvm/test/ThinLTO/X86/cache-import-lists.ll
  llvm/test/ThinLTO/X86/cache-typeid-resolutions.ll
  llvm/test/ThinLTO/X86/cache.ll
  llvm/test/ThinLTO/X86/deadstrip.ll
  llvm/test/ThinLTO/X86/debuginfo-compositetype-import.ll
  llvm/test/ThinLTO/X86/dicompositetype-unique.ll
  llvm/test/ThinLTO/X86/distributed_import.ll
  llvm/test/ThinLTO/X86/emit_imports.ll
  llvm/test/ThinLTO/X86/empty_module_with_cache.ll
  llvm/test/ThinLTO/X86/error-newpm.ll
  llvm/test/ThinLTO/X86/funcimport2.ll
  llvm/test/ThinLTO/X86/internalize.ll
  llvm/test/ThinLTO/X86/linkonce_aliasee_ref_import.ll
  llvm/test/ThinLTO/X86/module_asm2.ll
  llvm/test/ThinLTO/X86/module_asm_glob.ll
  llvm/test/ThinLTO/X86/reference_non_importable.ll
  llvm/test/tools/llvm-lto2/X86/nodatalayout.ll
  llvm/test/tools/llvm-lto2/X86/pipeline.ll
  llvm/test/tools/llvm-lto2/errors.ll
  llvm/tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31410.93197.patch
Type: text/x-patch
Size: 35564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170327/b9223729/attachment.bin>


More information about the llvm-commits mailing list