Skip to content

Commit

Permalink
Revert "[docs][ORC] Fix section title and reference."
Browse files Browse the repository at this point in the history
This reverts commit 6e1affe, which caused an
error on the Sphinx doc bot.
  • Loading branch information
lhames committed Feb 23, 2021
1 parent 5e233ff commit 479db97
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions llvm/docs/ORCv2.rst
Expand Up @@ -324,13 +324,13 @@ to be re-used across JIT sessions as the JIT'd code no longer changes, only the
absolute symbol definition does.

For process and library symbols the DynamicLibrarySearchGenerator utility (See
:ref:`How to Add Process and Library Symbols to JITDylibs`) can be used to
automatically build absolute symbol mappings for you. However the
absoluteSymbols function is still useful for making non-global objects in your
JIT visible to JIT'd code. For example, imagine that your JIT standard library
needs access to your JIT object to make some calls. We could bake the address of
your object into the library, but then it would need to be recompiled for each
session:
:ref:`How to Add Process and Library Symbols to JITDylibs
<ProcessAndLibrarySymbols>`) can be used to automatically build absolute
symbol mappings for you. However the absoluteSymbols function is still useful
for making non-global objects in your JIT visible to JIT'd code. For example,
imagine that your JIT standard library needs access to your JIT object to make
some calls. We could bake the address of your object into the library, but then
it would need to be recompiled for each session:

.. code-block: c++
Expand Down Expand Up @@ -683,8 +683,8 @@ all modules on the same context:
.. _ProcessAndLibrarySymbols:

How to Add Process and Library Symbols to JITDylibs
===================================================
How to Add Process and Library Symbols to the JITDylibs
=======================================================

JIT'd code typically needs access to symbols in the host program or in
supporting libraries. References to process symbols can be "baked in" to code
Expand Down

0 comments on commit 479db97

Please sign in to comment.