Re: [cfe-users] clang and intel syntax assembly

2016-09-21 Thread Fish Wang via cfe-users
oloa...@gmail.com] Sent: Tuesday, September 20, 2016 9:53 PM To: Fish Wang Cc: CFE-Users (Clang) ; Aravind Machiry Subject: Re: [cfe-users] clang and intel syntax assembly > - Compile the code using clang with the following command. An assembly > manifest hello.s will be generated >

Re: [cfe-users] clang and intel syntax assembly

2016-09-20 Thread Jeffrey Walton via cfe-users
> - Compile the code using clang with the following command. An assembly > manifest hello.s will be generated > clang -m32 -S -masm=intel hello.c -O1 > > - Assemble the asm file using clang: > clang -m32 -mllvm --x86-asm-syntax=intel hello.s > > It fails with the following error output: > > hello.s