[llvm] r275789 - Fixed errors in docs.
Alexander Kornienko via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 07:13:18 PDT 2016
Author: alexfh
Date: Mon Jul 18 09:13:18 2016
New Revision: 275789
URL: http://llvm.org/viewvc/llvm-project?rev=275789&view=rev
Log:
Fixed errors in docs.
Modified:
llvm/trunk/docs/tutorial/BuildingAJIT3.rst
Modified: llvm/trunk/docs/tutorial/BuildingAJIT3.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/BuildingAJIT3.rst?rev=275789&r1=275788&r2=275789&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/BuildingAJIT3.rst (original)
+++ llvm/trunk/docs/tutorial/BuildingAJIT3.rst Mon Jul 18 09:13:18 2016
@@ -78,6 +78,7 @@ now we'll be treating it as an opaque ut
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,
stubs. We supply this function by using the
createLocalIndirectStubsManagerBuilder utility.
+.. code-block:: c++
+
// ...
if (auto Sym = CODLayer.findSymbol(Name, false))
// ...
More information about the llvm-commits
mailing list