README.txt
1//===----------------------------------------------------------------------===/
2// Kaleidoscope with Orc - Lazy IRGen Version
3//===----------------------------------------------------------------------===//
4
5This version of Kaleidoscope with Orc demonstrates lazy IR-generation.
6Building on the lazy-codegen version of the tutorial, this version reduces the
7amount of up-front work that must be done by lazily IRgen'ing ASTs. When a
8function definition is entered, its AST is added to a map of available
9definitions. No IRGen is performed at this point and nothing is added to the JIT.
10When attempting to resolve symbol addresses, the lambda in
11KaleidoscopeJIT::getSymbolAddress will scan the AST map and generate IR on the
12fly.
13
14This directory contains a Makefile that allows the code to be built in a
15standalone manner, independent of the larger LLVM build infrastructure. To build
16the program you will need to have 'clang++' and 'llvm-config' in your path.
17