Hacker News new | past | comments | ask | show | jobs | submit login

I’m confused, I thought clang was a frontend for LLVM so how does it make sense to compare clang with LLVM?

From the clang Wikipedia:

> It uses the LLVM compiler infrastructure as its back end and has been part of the LLVM release cycle since LLVM 2.6.




It's a pipeline; clang starts, hands off to LLVM.

For a compilation to object file from source code, the vast majority of time for most translation units when building the Linux kernel is spent in the front end of the pipeline, not the middle, or backend.

See also my first plot: https://github.com/ClangBuiltLinux/linux/issues/1086#issueco...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: