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;
}
: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
=================================================================