[cfe-dev] Print assembly output of a compiled file from clang
David Blaikie via cfe-dev
cfe-dev at lists.llvm.org
Thu Apr 12 10:43:40 PDT 2018
I don't think Clang/LLVM supports intel assembly syntax, probably only
gnu/gas syntax. But perhaps someone else can confirm.
On Wed, Apr 11, 2018 at 5:23 PM Kim Gadecki <Gadecki at iinet.net.au> wrote:
> Hey David,
>
> Was wondering if you can output the assembly in intel format to the
> command line?
>
> Thanks
>
>
> On 11/04/2018 11:10 pm, David Blaikie wrote:
>
> Not sure if you want anything more than -S? (eg: "clang foo.c -S" -
> produces "foo.s", an assembly file)
>
> On Wed, Apr 11, 2018 at 8:06 AM Kim Gadecki via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> Hey guys,
>>
>> I'm looking for a way to print assembly output of a file being compiled
>> by clang. I've tried the -masm=intel and -x86-asm-syntax=intel flags.
>> Can anyone clue me in on how to do this?
>>
>> Thanks very much,
>>
>> Kim
>>
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180412/c14089a9/attachment.html>
More information about the cfe-dev
mailing list