[llvm] r344705 - [BuildingAJIT] Fix a function signature in the documentation.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 17 12:35:39 PDT 2018


Author: lhames
Date: Wed Oct 17 12:35:38 2018
New Revision: 344705

URL: http://llvm.org/viewvc/llvm-project?rev=344705&view=rev
Log:
[BuildingAJIT] Fix a function signature in the documentation.

Modified:
    llvm/trunk/docs/tutorial/BuildingAJIT1.rst

Modified: llvm/trunk/docs/tutorial/BuildingAJIT1.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/BuildingAJIT1.rst?rev=344705&r1=344704&r2=344705&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/BuildingAJIT1.rst (original)
+++ llvm/trunk/docs/tutorial/BuildingAJIT1.rst Wed Oct 17 12:35:38 2018
@@ -65,8 +65,8 @@ rather than compiling whole programs to
 compiler does. To support that aim our initial, bare-bones JIT API will have
 just two functions:
 
-1. Handle addModule(Module &M) -- Make the given IR module available for
-   execution.
+1. void addModule(std::unique_ptr<Module> M) -- Make the given IR module
+   available for execution.
 2. Expected<JITSymbol> lookup() -- Search for pointers to
    symbols (functions or variables) that have been added to the JIT.
 




More information about the llvm-commits mailing list