Point to the dusted off version of the kaleidoscope tutorial.
llvm-svn: 366528
This commit is contained in:
parent
553c29faa2
commit
8ef8e5686e
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
=================================================================
|
||||
|
|
Loading…
Reference in New Issue