Skip to content

Commit

Permalink
[docs][JITLink] Try explicit literal blocks for monospace list elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhames committed Feb 24, 2021
1 parent d91cfce commit 731a2bc
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions llvm/docs/JITLink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ ObjectLinkingLayer Plugins

The ``ObjectLinkingLayer::Plugin`` class provides the following methods:

* ::

virtual void modifyPassConfig(MaterializationResponsibility &MR,
const Triple &TT,
jitlink::PassConfiguration &Config)``
* :literal:`virtual void modifyPassConfig(MaterializationResponsibility &MR,
const Triple &TT,
jitlink::PassConfiguration &Config)`

Called each time a LinkGraph is about to be linked. Override to install
custom JITLink *Passes* to run during the link process for this graph.
Expand All @@ -87,10 +85,8 @@ The ``ObjectLinkingLayer::Plugin`` class provides the following methods:
``notifyTransferringResources`` should be implemented, or neither should be.
Implementing one but not the other will lead to resource management bugs.

* ::

virtual void notifyTransferringResources(ResourceKey DstKey,
ResourceKey SrcKey)
* :literal:`virtual void notifyTransferringResources(ResourceKey DstKey,
ResourceKey SrcKey)`

Called if/when a request is made to reassociate resources from *SrcKey* to
*DstKey*. Override to update the plugin's resource tracking maps (if any).
Expand Down

0 comments on commit 731a2bc

Please sign in to comment.