]> granicus.if.org Git - clang/commit
Support -masm= flag for x86 targets.
authorNico Weber <nicolasweber@gmx.de>
Tue, 13 May 2014 11:11:24 +0000 (11:11 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 13 May 2014 11:11:24 +0000 (11:11 +0000)
commit8277d9c9466d42daef6bae7d195f144901a31cd4
treea0214ee1d351d1688db3fb9212bd044175f2df17
parent9e7b06fe7533cf5e48b849d0e6bde70208ad3d19
Support -masm= flag for x86 targets.

`clang -S -o - file.c -masm=att` will write assembly to stdout in at&t syntax
(the default), `-masm=intel` will instead output intel style asm.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208683 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/masm.c [new file with mode: 0644]