[llvm-commits] [PATCH] llc : fix PR2426 : -mcpu=help or -mattr=help requires a module to load
Duncan Sands
baldrick at free.fr
Wed Jun 27 09:26:14 PDT 2012
Hi Arnaud,
> Simplification of previous patch : when users asks for -mcpu=help or
> -mattr=help, no module is loaded at all (from stdin or file).
>
> Without this patch, an input module is expected on stdin if no module
> argument was specified. This forces the user to type CTRL+D to get the
> requested help : this is not user friendly nor intuitive.
I applied a variant that outputs help for the specified target if the user
also passes -mtriple=... on the command line (commit 159268). Thanks for
the patch!
Ciao, Duncan.
More information about the llvm-commits
mailing list