[cfe-dev] clang -cc1 -emit-llvm -S emits assembly?

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue May 11 11:39:03 PDT 2010


Hi,

The clang test CodeGenObjC/property-complex.m has this RUN line:

// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -S -o - %s

This causes clang to emit x86 assembly, not LLVM IR to stdout. Is that intended?

I would expect '-emit-llvm -S' to generate textual LLVM IR, like llvm-gcc does.





More information about the cfe-dev mailing list