llvm.org GIT mirror llvm / 46f9c27
Fixed errors in docs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275789 91177308-0d34-0410-b5e6-96231b3b80d8 Alexander Kornienko 3 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7777 to it into our new CompileOnDemandLayer, and the layer will do all the work of
7878 setting up the callbacks using the callback manager we gave it.
7979
80 .. code-block:: c++
8081
8182 KaleidoscopeJIT()
8283 : TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()),
123124 stubs. We supply this function by using the
124125 createLocalIndirectStubsManagerBuilder utility.
125126
127 .. code-block:: c++
128
126129 // ...
127130 if (auto Sym = CODLayer.findSymbol(Name, false))
128131 // ...