1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[BuildingAJIT] Fix a function signature in the documentation.

llvm-svn: 344705
This commit is contained in:
Lang Hames 2018-10-17 19:35:38 +00:00
parent 40a9c9b0f9
commit 28cc439980

View File

@ -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.