[LLVMbugs] [Bug 10869] New: [LLVM, llvm-mc] Unclear error for files without newline at the end of file (ARM, x86).
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Sep 6 05:44:30 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10869
Summary: [LLVM, llvm-mc] Unclear error for files without
newline at the end of file (ARM, x86).
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: stpworld at narod.ru
CC: llvmbugs at cs.uiuc.edu
ARMAsmParser and X86AsmParser doesn't process files without newline at the end
of file properly.
llvm-mc failed to parse file with error message:
nonl-x86.s:2:17: error: unexpected token in argument list
Reproduction steps:
1. Create the file "nonl-x86.s" with the next contents (or use attachment):
movl %gs:8, %eax
movl %gs:8, %eax
2. Ensure that it has no newlines at EOF.
3. run llvm-mc:
llvm-mc nonl-x86.s
4. llvm-mc fails with message:
nonl-x86.s:2:17: error: unexpected token in argument list
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list