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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs