Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

[MC] intel assembly syntax parser for mc #9033

Closed Quuxplusone closed 12 years ago

Quuxplusone commented 14 years ago
Bugzilla Link PR8665
Status RESOLVED FIXED
Importance P normal
Reported by Nick Lewycky (nlewycky@google.com)
Reported on 2010-11-22 17:03:41 -0800
Last modified on 2012-03-13 17:06:58 -0700
Version 1.0
Hardware PC Linux
CC clattner@nondot.org, daniel@zuster.org, llvm-bugs@lists.llvm.org, pawel.worach@gmail.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
Binutils lets you switch between Intel and AT&T syntax assembly in the middle
of a program, using ".intex_syntax noprefix" and ".att_syntax". Even worse, it
turns out that this is a popular thing to do:

  http://google.com/codesearch?as_q=\.intel_syntax

I don't think we have an intel syntax parser yet, in which case supporting this
will require writing one.
Quuxplusone commented 14 years ago

It doesn't hurt to have a tracking bug for this, but as you mention the prerequisite step is to implement intel syntax for llvm-mc first. If we were going to do it, I'd advocate for NASM flavor, since it is frequently used on the windows side of the world. I don't know of anyone planning to work on this though.

Quuxplusone commented 12 years ago

Hi Nick, I'm pretty sure we support this now. Can you verify? Clang still doesn't support "code warrior / microsoft - style inline assembly", but that's separate from mc-level support.

Quuxplusone commented 12 years ago

Verified!