summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-10-17 19:35:38 +0000
committerLang Hames <lhames@gmail.com>2018-10-17 19:35:38 +0000
commitd2d73ba99531e7dedf2918eba616eb875f40d01b (patch)
tree0703b6c5f9573e34deec48231d685efc419b77cd /llvm/docs/tutorial
parentf4c1582476db00144f5aff4351553a7799cf15b9 (diff)
downloadbcm5719-llvm-d2d73ba99531e7dedf2918eba616eb875f40d01b.tar.gz
bcm5719-llvm-d2d73ba99531e7dedf2918eba616eb875f40d01b.zip
[BuildingAJIT] Fix a function signature in the documentation.
llvm-svn: 344705
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/BuildingAJIT1.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/BuildingAJIT1.rst b/llvm/docs/tutorial/BuildingAJIT1.rst
index f1e93bf12b3..1342c10a9d1 100644
--- a/llvm/docs/tutorial/BuildingAJIT1.rst
+++ b/llvm/docs/tutorial/BuildingAJIT1.rst
@@ -65,8 +65,8 @@ rather than compiling whole programs to disk ahead of time as a traditional
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.
OpenPOWER on IntegriCloud