From 0330b8cc1eb47e8c47ad6fc7fa43852057fc6996 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Thu, 16 Jan 2020 21:46:35 -0800 Subject: [PATCH] [docs][ORC] Try to fix 'title-level inconsistent' error in ORCv2.rst. --- docs/ORCv2.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ORCv2.rst b/docs/ORCv2.rst index 5e70f0396bc..488ce262ee3 100644 --- a/docs/ORCv2.rst +++ b/docs/ORCv2.rst @@ -523,7 +523,7 @@ How-tos ======= How to manage symbol strings -############################ +---------------------------- Symbol strings in ORC are uniqued to improve lookup performance, reduce memory overhead, and allow symbol names to function as efficient keys. To get the @@ -556,7 +556,7 @@ will perform both jobs for you: auto Sym = ES.lookup({&ES.getMainJITDylib()}, Mangle("main")); How to create JITDylibs and set up linkage relationships -######################################################## +-------------------------------------------------------- In ORC, all symbol definitions reside in JITDylibs. JITDylibs are created by calling the ``ExecutionSession::createJITDylib`` method with a unique name: @@ -579,7 +579,7 @@ default. A reference to it can be obtained by calling auto &MainJD = ES.getMainJITDylib(); How to use ThreadSafeModule and ThreadSafeContext -################################################# +------------------------------------------------- ThreadSafeModule and ThreadSafeContext are wrappers around Modules and LLVMContexts respectively. A ThreadSafeModule is a pair of a