[llvm] r366528 - Point to the dusted off version of the kaleidoscope tutorial.

Chris Lattner via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 22:15:57 PDT 2019


Author: lattner
Date: Thu Jul 18 22:15:57 2019
New Revision: 366528

URL: http://llvm.org/viewvc/llvm-project?rev=366528&view=rev
Log:
Point to the dusted off version of the kaleidoscope tutorial.

Modified:
    llvm/trunk/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
    llvm/trunk/docs/tutorial/index.rst

Modified: llvm/trunk/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst?rev=366528&r1=366527&r2=366528&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst (original)
+++ llvm/trunk/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst Thu Jul 18 22:15:57 2019
@@ -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;
   }

Modified: llvm/trunk/docs/tutorial/index.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/index.rst?rev=366528&r1=366527&r2=366528&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/index.rst (original)
+++ llvm/trunk/docs/tutorial/index.rst Thu Jul 18 22:15:57 2019
@@ -10,7 +10,9 @@ Kaleidoscope: Implementing a Language wi
    :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
 =================================================================




More information about the llvm-commits mailing list