Point to the dusted off version of the kaleidoscope tutorial.

llvm-svn: 366528
This commit is contained in:
Chris Lattner 2019-07-19 05:15:57 +00:00
parent 553c29faa2
commit 8ef8e5686e
2 changed files with 4 additions and 2 deletions

View File

@ -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;
}

View File

@ -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
=================================================================