]> granicus.if.org Git - llvm/commitdiff
[examples] Fix some comments in the LLJITWithJITLink example
authorLang Hames <lhames@gmail.com>
Fri, 18 Oct 2019 18:35:02 +0000 (18:35 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 18 Oct 2019 18:35:02 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375269 91177308-0d34-0410-b5e6-96231b3b80d8

examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp

index ed79b90e3284933dbd43b431e9daab9b49af9f82..fdda31eca487440206a67f864f220ac4e0cf0bf4 100644 (file)
@@ -38,14 +38,14 @@ int main(int argc, char *argv[]) {
   cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
   ExitOnErr.setBanner(std::string(argv[0]) + ": ");
 
-  // Declare an in-process JITLink memory manager.
+  // Define an in-process JITLink memory manager.
   jitlink::InProcessMemoryManager MemMgr;
 
   // Detect the host and set code model to small.
   auto JTMB = ExitOnErr(JITTargetMachineBuilder::detectHost());
   JTMB.setCodeModel(CodeModel::Small);
 
-  // Create an LLJIT instance with a custom CompileFunction.
+  // Create an LLJIT instance with an ObjectLinkingLayer as the base layer.
   auto J =
       ExitOnErr(LLJITBuilder()
                     .setJITTargetMachineBuilder(std::move(JTMB))