Technical requirements
This chapter focuses on one tool in the utils
folder: llvm-tblgen
. To build it, launch the following command:
$ ninja llvm-tblgen
Note
If you chose to build llvm-tblgen
in Release mode regardless of the global build type, using the LLVM_OPTIMIZED_TABLEGEN
CMake variable introduced in the first chapter, you might want to change that setting since it's always better to have a debug version of llvm-tblgen
in this chapter.
All of the source code in this chapter can be found in this GitHub repository: https://github.com/PacktPublishing/LLVM-Techniques-Tips-and-Best-Practices-Clang-and-Middle-End-Libraries/tree/main/Chapter04.