From d2d73ba99531e7dedf2918eba616eb875f40d01b Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 17 Oct 2018 19:35:38 +0000 Subject: [PATCH] [BuildingAJIT] Fix a function signature in the documentation. llvm-svn: 344705 --- llvm/docs/tutorial/BuildingAJIT1.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/docs/tutorial/BuildingAJIT1.rst b/llvm/docs/tutorial/BuildingAJIT1.rst index f1e93bf12b39..1342c10a9d1c 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 M) -- Make the given IR module + available for execution. 2. Expected lookup() -- Search for pointers to symbols (functions or variables) that have been added to the JIT.