projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b2ab11
)
Fixed errors in docs.
author
Alexander Kornienko
<alexfh@google.com>
Mon, 18 Jul 2016 14:13:18 +0000
(14:13 +0000)
committer
Alexander Kornienko
<alexfh@google.com>
Mon, 18 Jul 2016 14:13:18 +0000
(14:13 +0000)
llvm-svn: 275789
llvm/docs/tutorial/BuildingAJIT3.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/tutorial/BuildingAJIT3.rst
b/llvm/docs/tutorial/BuildingAJIT3.rst
index
3e8d3fb
..
ba0dab9
100644
(file)
--- a/
llvm/docs/tutorial/BuildingAJIT3.rst
+++ b/
llvm/docs/tutorial/BuildingAJIT3.rst
@@
-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))
// ...