From 46f9c274d1282ab9c89816a6be60c5429d18668e Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 18 Jul 2016 14:13:18 +0000 Subject: [PATCH] Fixed errors in docs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275789 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tutorial/BuildingAJIT3.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/tutorial/BuildingAJIT3.rst b/docs/tutorial/BuildingAJIT3.rst index 3e8d3fbef5a..ba0dab91c4e 100644 --- a/docs/tutorial/BuildingAJIT3.rst +++ b/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)) // ... -- 2.40.0