Technical requirements
Building an LLVM backend implies developing directly in the LLVM code base (or a fork of it). As such, you will need all the same tools that we already 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’ll call this repository the companion repository for the remainder of the chapter.
The changes for this chapter are all included between the begin_ch14
and end_ch14
Git tags of the companion repository. If you are not familiar with Git tags, look at Chapter 9 for a quick explanation of what you can do with them. Throughout the chapter, we also mention specific tags that we created in this repository for you to easily find the relevant commits.
Note that the code changes made for Chapter 14 to Chapter 17 are intertwined. The begin_XXX
and end_XXX
tags encompass the first and...