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

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 11:47:30 PDT 2017


zturner added a comment.

I guess what I mean is, if you just want to import every single top level option into the "run" subcommand, and the tool only works when the run subcommand is given (looking at the source code it just prints usage and exits if there is no run subcommand) why is the run subcommand even necessary?  Isn't it equivalent to just not even having a subcommand and running `llvm-lto2 -lto-use-new-pm ...`?


Repository:
  rL LLVM

https://reviews.llvm.org/D31410





More information about the llvm-commits mailing list