Summary

In this chapter, we presented you with a historical perspective of the design decisions used in the LLVM project and gave you an overview of the most important ones. We also showed you how to use the LLVM components in two different ways. First, by using the compiler driver, which is a high-level tool that performs the entire compilation for you in a single command. Second, by using separate LLVM standalone tools. Besides storing intermediary results on the disk, which slows down compilation, the tools allow us to interface with specific fragments of the LLVM libraries via the command line, giving us finer control over the compilation process. They are an excellent way to learn how LLVM works. We also showed you a few of the C++ coding ...

Get Getting Started with LLVM Core Libraries now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.