[PATCH] D60369: Fix missing arguments in tutorial
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 01:23:44 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL358267: Fix missing arguments in tutorial (authored by hans, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D60369?vs=194036&id=194812#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60369/new/
https://reviews.llvm.org/D60369
Files:
llvm/trunk/docs/tutorial/LangImpl08.rst
Index: llvm/trunk/docs/tutorial/LangImpl08.rst
===================================================================
--- llvm/trunk/docs/tutorial/LangImpl08.rst
+++ llvm/trunk/docs/tutorial/LangImpl08.rst
@@ -157,7 +157,7 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60369.194812.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190412/e4f360be/attachment-0001.bin>
More information about the llvm-commits
mailing list