llc -mcpu=help doesn't print any output, just tries to silently read from standard input. Am I doing something wrong?
On Feb 15, 2010, at 4:20 PM, Russell Wallace wrote:> llc -mcpu=help doesn't print any output, just tries to silently read > from standard input. Am I doing something wrong?Annoyingly enough, you have to give it a bc file as input as well.
Yes, you're right; that's actually just an issue with llc, not with the underlying library code; programs linked with the library that provides this help output, correctly produce the output without requiring an input file. Thanks! On Tue, Feb 16, 2010 at 12:27 AM, Chris Lattner <clattner at apple.com> wrote:> > On Feb 15, 2010, at 4:20 PM, Russell Wallace wrote: > >> llc -mcpu=help doesn't print any output, just tries to silently read >> from standard input. Am I doing something wrong? > > Annoyingly enough, you have to give it a bc file as input as well. >
It needs dev/null (or NUL on windows) as the input. llc -mtriple=avr-atmel-unknown -mcpu=help < dev/null On 2/15/10, Russell Wallace <russell.wallace at gmail.com> wrote:> llc -mcpu=help doesn't print any output, just tries to silently read > from standard input. Am I doing something wrong? > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >