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

Russell Wallace russell.wallace at gmail.com
Mon Jul 27 09:04:19 PDT 2015


That works, thanks!

On Mon, Jul 27, 2015 at 5:02 PM, Tom Stellard <tom at stellard.net> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150727/713ee2ef/attachment.html>


More information about the cfe-dev mailing list