Table of Contents
Preface
Section 1 – The Basics of Compiler Construction with LLVM
Chapter 1: Installing LLVM
Getting the prerequisites ready
Ubuntu
Fedora and RedHat
FreeBSD
OS X
Windows
Configuring Git
Building with CMake
Cloning the repository
Creating a build directory
Generating the build system files
Customizing the build process
Variables defined by CMake
Variables defined by LLVM
Summary
Chapter 2: Touring the LLVM Source
Technical requirements
Contents of the LLVM mono repository
LLVM core libraries and additions
Compilers and tools
Runtime libraries
Layout of an LLVM project
Creating your own project using LLVM libraries
Creating the directory structure
Adding the CMake files
Adding the C++ source files
Compiling the tinylang application ...
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.