diff options
author | Chris Lattner <sabre@nondot.org> | 2019-07-19 05:15:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2019-07-19 05:15:57 +0000 |
commit | 8ef8e5686ee1ff8f0bfe0869d338fea504cd8a51 (patch) | |
tree | ce15fce5235ed8756a0312a5c7af489f2604995c /llvm/docs | |
parent | 553c29faa262d0685c21ebf95336c98174e65aaa (diff) | |
download | bcm5719-llvm-8ef8e5686ee1ff8f0bfe0869d338fea504cd8a51.tar.gz bcm5719-llvm-8ef8e5686ee1ff8f0bfe0869d338fea504cd8a51.zip |
Point to the dusted off version of the kaleidoscope tutorial.
llvm-svn: 366528
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst | 2 | ||||
-rw-r--r-- | llvm/docs/tutorial/index.rst | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst index 44a71d807f3..b8056c7b937 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst @@ -159,7 +159,7 @@ pass: legacy::PassManager pass; auto FileType = TargetMachine::CGFT_ObjectFile; - if (TargetMachine->addPassesToEmitFile(pass, dest, FileType)) { + if (TargetMachine->addPassesToEmitFile(pass, dest, nullptr, FileType)) { errs() << "TargetMachine can't emit a file of this type"; return 1; } diff --git a/llvm/docs/tutorial/index.rst b/llvm/docs/tutorial/index.rst index 494cfd0a33a..844623ef215 100644 --- a/llvm/docs/tutorial/index.rst +++ b/llvm/docs/tutorial/index.rst @@ -10,7 +10,9 @@ Kaleidoscope: Implementing a Language with LLVM :glob: :numbered: - LangImpl* +#. `My First Language Frontend with LLVM Tutorial <https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/>`_ + This is the "Kaleidoscope" Language tutorial, showing how to implement + a simple language using LLVM components in C++. Kaleidoscope: Implementing a Language with LLVM in Objective Caml ================================================================= |