http://llvm.org/bugs/show_bug.cgi?id=20052

Reid Kleckner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from Reid Kleckner <[email protected]> ---
This should be fixed by r214550.

Jeff, I decided your approach was more or less correct.  When parsing direct
calls in a .s file, we form an absolute memory X86Operand, and match that
against the direct call.  However, this is obviously ambiguous with indirect
calls through memory.  gas solves this for AT&T style assembly by
disambiguating with a *:

calll foo -> call foo
calll *foo -> call dword ptr [foo]

In LLVM, this appears as a '*' in the token stream, and the asm matcher knows
to look for it.  However, for Intel syntax, we don't have any means of
disambiguating yet.  Time to file a new bug.

-- 
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

Reply via email to