[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?
> 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,
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev