summaryrefslogtreecommitdiffstats
path: root/llvm/examples
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-10-18 18:35:02 +0000
committerLang Hames <lhames@gmail.com>2019-10-18 18:35:02 +0000
commitbb7dd55f675f156c26b98bd7e411a46412cb15d2 (patch)
tree1ef57dbb2ada3c216971bc1cadfd982e84368175 /llvm/examples
parentf9a42ed0a7f67979cdd20391366e2a059c2e14c8 (diff)
downloadbcm5719-llvm-bb7dd55f675f156c26b98bd7e411a46412cb15d2.tar.gz
bcm5719-llvm-bb7dd55f675f156c26b98bd7e411a46412cb15d2.zip
[examples] Fix some comments in the LLJITWithJITLink example
llvm-svn: 375269
Diffstat (limited to 'llvm/examples')
-rw-r--r--llvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp b/llvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
index ed79b90e328..fdda31eca48 100644
--- a/llvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
+++ b/llvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
@@ -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))
OpenPOWER on IntegriCloud