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:
parent
48b7ce08f8
commit
bd04308493
@ -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))
|
||||
// ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user