Technical requirements
In this chapter, most of the things that we’ll show you require a version of LLVM that’s been built with assertions enabled. As such, you’ll need to build LLVM yourself. If you haven’t done so already, please follow the steps provided in Chapter 1.
Moreover, in the ch10
folder of this book’s GitHub repository (https://github.com/PacktPublishing/LLVM-Code-Generation you’ll find examples of how to use the techniques presented here. We encourage you to complete the activities available there when you’re done with this chapter/the related sections to solidify your knowledge with hands-on exercises.
Now that you’ve set everything up, let’s start with the logging mechanism in LLVM.