-
Book Overview & Buying
-
Table Of Contents
LLVM Code Generation
By :
Similarly to all the chapters that build an LLVM backend, you need to develop directly in the LLVM code base (or a fork of it.) As such, you will need all the same tools as those we presented in Chapter 1.
Additionally, for all the snippets presented in this chapter, you will find the actual implementation in the https://github.com/PacktPublishing/LLVM-Code-Generation-by-example GitHub repository. We call this repository the companion repository in the remainder of the chapter.
The changes for this chapter are scattered around the changes of the previous chapters because we wanted to test a full end-to-end (LLVM IR to assembly code) pipeline before supporting more features. This is how we recommend approaching the implementation of all backends, but obviously, following this flow would not make for a well-structured book! The bottom line is that, for this chapter, we will give you the Git tags for each change, but we do not have the encompassing begin_chXX...