1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fixed errors in docs.

llvm-svn: 275789
This commit is contained in:
Alexander Kornienko 2016-07-18 14:13:18 +00:00
parent 48b7ce08f8
commit bd04308493

View File

@ -78,6 +78,7 @@ now we'll be treating it as an opaque utility: We just need to pass a reference
to it into our new CompileOnDemandLayer, and the layer will do all the work of
setting up the callbacks using the callback manager we gave it.
.. code-block:: c++
KaleidoscopeJIT()
: TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()),
@ -124,6 +125,8 @@ indirect stubs manager will be deleted, freeing any memory allocated to the
stubs. We supply this function by using the
createLocalIndirectStubsManagerBuilder utility.
.. code-block:: c++
// ...
if (auto Sym = CODLayer.findSymbol(Name, false))
// ...