[LLVMdev] llvm-mc, files without newline at eof

Степан STPWORLD at yandex.ru
Mon Sep 5 13:34:27 PDT 2011

Hi, everybody.

I am a newbie in llvm development. I found some strange behaviour in llvm-mc. Files without empty string at the eof doesn't proceed properly.

llvm-mc prints something like this:
<stdin>:5:18: error: unexpected token in argument list

It looks like a bug.

At least we should print:
<stdin>:5:18: error: no newline at the end of file!

If yes, I create it in bugzilla and assign to myself.

Thank you.

I attached file without newline at eof.
Try to run "llvm-mc -triple=armv7-apple-darwin -show-encoding < test.s"

Truly yours
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.s
Type: application/octet-stream
Size: 58 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110906/b260cc63/attachment.obj>

More information about the llvm-dev mailing list