[llvm-commits] [PATCH] llc : fix PR2426 : -mcpu=help or -mattr=help requires a module to load

Arnaud de Grandmaison arnaud.allarddegrandmaison at parrot.com
Wed Jun 27 09:28:38 PDT 2012


On 06/27/2012 06:26 PM, Duncan Sands wrote:
> 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.
>
>
Thanks Duncan. I will close PR2426.

Cheers,

-- 
Arnaud de Grandmaison




More information about the llvm-commits mailing list