[cfe-dev] Print assembly output of a compiled file from clang
Tim Northover via cfe-dev
cfe-dev at lists.llvm.org
Thu Apr 12 11:11:13 PDT 2018
Oh no, turns out I was wrong and that's exactly what -masm=intel does.
My bet's now on your -S suggestion.
On 12 April 2018 at 19:09, Tim Northover <t.p.northover at gmail.com> wrote:
> On 12 April 2018 at 18:43, David Blaikie via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
>> I don't think Clang/LLVM supports intel assembly syntax, probably only
>> gnu/gas syntax. But perhaps someone else can confirm.
> It's not piped through to Clang in a friendly way, but that's what
> "-mllvm -x86-asm-syntax=intel" should do. If the question really was
> about the syntax variant, Kim might have forgotten the "-mllvm"?
More information about the cfe-dev