[cfe-dev] clang vs llc

Luc Bourhis luc_j_bourhis at mac.com
Tue Jun 1 00:51:01 PDT 2010


Hi,

I think I understand reasonably well what the following does:

~> clang foo.c -emit-llvm -c -o foo.bc
~> llc foo.bc -O3 -o foo.o

However, I am not quite sure about the straightforward

~> clang foo.c -c -o foo.o

Is the latter doing just the same as the former but all in memory? If not, what are the differences?

Luc Bourhis
Computer Scientist
Chemical Crystallography Laboratory
University of Durham, UK



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100601/a6318647/attachment.bin>


More information about the cfe-dev mailing list