aboutsummaryrefslogtreecommitdiffstats
path: root/examples/Kaleidoscope/Orc/lazy_codegen/README.txt
blob: 9d62a9143279787f40c8e7242ff8d37d410cdf73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//===----------------------------------------------------------------------===/
//                 Kaleidoscope with Orc - Initial Version
//===----------------------------------------------------------------------===//

This version of Kaleidoscope with Orc demonstrates lazy code-generation.
Unlike the first Kaleidoscope-Orc tutorial, where code-gen was performed as soon
as modules were added to the JIT, this tutorial adds a LazyEmittingLayer to defer
code-generation until modules are actually referenced. All IR-generation is still
performed up-front.

This directory contain a Makefile that allow the code to be built in a
standalone manner, independent of the larger LLVM build infrastructure. To build
the program you will need to have 'clang++' and 'llvm-config' in your path.