[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 02:20:07 PDT 2012


Fix with comments from Duncan.

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.

Cheers,

-- 
Arnaud de Grandmaison

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-PR2426-mcpu-help-or-mattr-help-requires-a-module.patch
Type: text/x-patch
Size: 2011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120627/24b8fc4d/attachment.bin>


More information about the llvm-commits mailing list