set(LLVM_LINK_COMPONENTS
- Analysis
Core
ExecutionEngine
- InstCombine
- MC
- ScalarOpts
+ Object
Support
- TransformUtils
native
- mcjit
)
-set(LLVM_REQUIRES_RTTI 1)
-
-add_llvm_example(Kaleidoscope-Ch8
+add_kaleidoscope_chapter(Kaleidoscope-Ch8
toy.cpp
)
+
+export_executable_symbols(Kaleidoscope-Ch8)