Summary

JIT compilation is a runtime compilation feature present in several virtual machine environments. In this chapter, we explored the LLVM JIT execution engine by showing the distinct implementations available, the old JIT and the MCJIT. Moreover, we examined implementation details from both approaches and provided real examples on how to build tools to use the JIT engines.

In the next chapter, we will cover cross-compilation, toolchains, and how to create an LLVM-based cross compiler.

Get Getting Started with LLVM Core Libraries 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.