llvm.org GIT mirror llvm / 652c425
Point to the dusted off version of the kaleidoscope tutorial. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366528 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner a month ago
2 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
158158 legacy::PassManager pass;
159159 auto FileType = TargetMachine::CGFT_ObjectFile;
160160
161 if (TargetMachine->addPassesToEmitFile(pass, dest, FileType)) {
161 if (TargetMachine->addPassesToEmitFile(pass, dest, nullptr, FileType)) {
162162 errs() << "TargetMachine can't emit a file of this type";
163163 return 1;
164164 }
99 :glob:
1010 :numbered:
1111
12 LangImpl*
12 #. `My First Language Frontend with LLVM Tutorial `_
13 This is the "Kaleidoscope" Language tutorial, showing how to implement
14 a simple language using LLVM components in C++.
1315
1416 Kaleidoscope: Implementing a Language with LLVM in Objective Caml
1517 =================================================================