Clang -emit-llvm text rather than binary?

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?

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

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

That works, thanks!