mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[Kaleidoscope][BuildingAJIT] Split up the code-block describing the substitution
of OptimizeLayer for CompileLayer in Chapter 2. Hopefully this will read a little more clearly. llvm-svn: 271868
This commit is contained in:
parent
8b961a44c2
commit
9bad4819bf
@ -97,6 +97,10 @@ that we will define below.
|
||||
return RuntimeDyld::SymbolInfo(nullptr);
|
||||
},
|
||||
// ...
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
// ...
|
||||
// Add the set to the JIT with the resolver we created above and a newly
|
||||
// created SectionMemoryManager.
|
||||
return OptimizeLayer.addModuleSet(std::move(Ms),
|
||||
@ -104,10 +108,14 @@ that we will define below.
|
||||
std::move(Resolver));
|
||||
// ...
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
// ...
|
||||
return OptimizeLayer.findSymbol(MangledNameStream.str(), true);
|
||||
// ...
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
// ...
|
||||
OptimizeLayer.removeModuleSet(H);
|
||||
// ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user