[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:09:48 PDT 2018


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"?

Cheers.

Tim.



More information about the cfe-dev mailing list