11
The Target Description
LLVM has a very flexible architecture. You can also add a new target backend to it. The core of a backend is the target description, from which most of the code is generated. In this chapter, you will learn how to add support for a historical CPU.
In this chapter, you will cover the following:
- Setting the stage for a new backend introduces you to the M88k CPU architecture and shows you where to find the required information
- Adding the new architecture to the Triple class teaches you how to make LLVM aware of a new CPU architecture
- Extending the ELF file format definition in LLVM shows you how to add support for the M88k-specific relocations to the libraries and tools that handle ELF object files
- Creating the target ...
Get Learn LLVM 17 - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.