[cfe-dev] Clang -emit-llvm text rather than binary?

Tom Stellard tom at stellard.net
Mon Jul 27 09:02:45 PDT 2015


On Mon, Jul 27, 2015 at 04:46:15PM +0100, Russell Wallace wrote:
> clang -emit-llvm can compile to intermediate code, but by default emits the
> binary format. Is there a way to get it to emit text format instead?
> 

Try passing the -S argument.

-Tom

> (Surprisingly but happily, clang-cl -emit-llvm does default to text format.)

> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list