Technical requirements
You will find the complete code of what we are building in this chapter in the ch4
folder of the repository of this book: https://github.com/PacktPublishing/LLVM-Code-Generation.
The technical requirements are otherwise the same as in Chapter 3. In other words, you will need a C/C++ compiler toolchain, CMake, and Ninja.
Finally, if you use a toolchain that does not have Clang, consider building your own Clang compiler as this will come in handy to produce the input of our program. Check out the Building Clang section in Chapter 1, for a method to generate your own Clang compiler.
Now that we have taken care of the logistics for this chapter, let us dive into our first concept: value!