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

Fariborz Jahanian fjahanian at apple.com
Tue May 11 11:50:26 PDT 2010


On May 11, 2010, at 11:39 AM, Jakob Stoklund Olesen wrote:

> 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?
Probably not. Test changed in r103487

- Fariborz

>
>
> I would expect '-emit-llvm -S' to generate textual LLVM IR, like  
> llvm-gcc does.
>
>
> _______________________________________________
> 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