[cfe-dev] clang vs llc
Eli Friedman
eli.friedman at gmail.com
Tue Jun 1 01:11:39 PDT 2010
On Tue, Jun 1, 2010 at 12:51 AM, Luc Bourhis <luc_j_bourhis at mac.com> wrote:
> 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?
They're doing essentially the same thing.
-Eli
More information about the cfe-dev
mailing list