[llvm-commits] [PATCH] Teach llvm-mc to respect x86-asm-syntax

Marius Wachtler malloc at inode.at
Tue Apr 13 11:13:55 PDT 2010


Hi all,

with this patch llvm-mc respects the assembler dialect when printing
instructions.


Before:

malloc at deadcode:~/dev/llvm_trunk/debug_make/Debug/bin$ ./llvm-mc
-x86-asm-syntax=intel --disassemble
0x48 0x83 0xEC 0x08
subq $8, %rsp


With patch:

malloc at deadcode:~/dev/llvm_trunk/debug_make/Debug/bin$ ./llvm-mc
-x86-asm-syntax=intel --disassemble
0x48 0x83 0xEC 0x08
sub RSP, 8

-- Marius Wachtler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100413/880b8895/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asm_variant.diff
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100413/880b8895/attachment.bin>


More information about the llvm-commits mailing list