Chapter 2: Touring the LLVM Source
The LLVM mono repository contains all the projects under the llvm-project root directory. All projects follow a common source layout. To use LLVM effectively, it is good to know what is available and where to find it. In this chapter, you will learn about the following:
- The contents of the LLVM mono repository, covering the most important top-level projects
- The layout of an LLVM project, showing the common source layout used by all projects
- How to create your own projects using LLVM libraries, covering all the ways you can use LLVM in your own projects
- How to target a different CPU architecture, showing the steps required to cross-compile to another system
Technical requirements
The code files for the chapter ...
Get Learn LLVM 12 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.