Skip to content

Commit 8ef8e56

Browse files
committed
Point to the dusted off version of the kaleidoscope tutorial.
llvm-svn: 366528
1 parent 553c29f commit 8ef8e56

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ pass:
159159
legacy::PassManager pass;
160160
auto FileType = TargetMachine::CGFT_ObjectFile;
161161

162-
if (TargetMachine->addPassesToEmitFile(pass, dest, FileType)) {
162+
if (TargetMachine->addPassesToEmitFile(pass, dest, nullptr, FileType)) {
163163
errs() << "TargetMachine can't emit a file of this type";
164164
return 1;
165165
}

llvm/docs/tutorial/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Kaleidoscope: Implementing a Language with LLVM
1010
:glob:
1111
:numbered:
1212

13-
LangImpl*
13+
#. `My First Language Frontend with LLVM Tutorial <https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/>`_
14+
This is the "Kaleidoscope" Language tutorial, showing how to implement
15+
a simple language using LLVM components in C++.
1416

1517
Kaleidoscope: Implementing a Language with LLVM in Objective Caml
1618
=================================================================

0 commit comments

Comments
 (0)