[LLVMbugs] [Bug 19033] New: [MC] Intel syntax assembly parser misparses symbol with immediate offset: [_g0 + 8]
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 3 15:33:56 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=19033
Bug ID: 19033
Summary: [MC] Intel syntax assembly parser misparses symbol
with immediate offset: [_g0 + 8]
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: chad.rosier at gmail.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ cat t.s
.bss
.globl _g0
.text
mov rbx, qword ptr [_g0]
mov rcx, qword ptr [_g0 + 8]
$ llvm-mc t.s -triple x86_64-unknown-unknown -x86-asm-syntax=intel
.text
.bss
.globl _g0
.text
movq _g0, %rbx
movq _g0, %rcx
I'm pretty sure the second load should be at offset 8:
movq %rcx, _g0+8
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140303/3b7dc695/attachment.html>
More information about the llvm-bugs
mailing list