[PATCH] D18070: New Kaleidoscope section: Creating object files
Wilfred Hughes via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 10 15:32:09 PST 2016
Wilfred created this revision.
Wilfred added reviewers: silvas, lhames.
Wilfred added a subscriber: llvm-commits.
Wilfred set the repository for this revision to rL LLVM.
The Kaleidoscope tutorial has great coverage of most of the basic LLVM use cases, but it doesn't cover creating object files. I struggled with this when I started working with LLVM, and I've seen others express a need for this (e.g. [[ http://msm.runhello.com/p/1003#emitting-to-a-file | this blog post ]]).
So, I've written a new chapter that walks users through generating object code. This is based on my understanding from reading llc and rustc source code, so please highlight any sections that are misleading or outright wrong.
This new chapter is chapter 5. You can ignore any changes to chapters 6-10, this is a simple renumbering.
Repository:
rL LLVM
http://reviews.llvm.org/D18070
Files:
docs/tutorial/LangImpl10.rst
docs/tutorial/LangImpl5-cfg.png
docs/tutorial/LangImpl5.rst
docs/tutorial/LangImpl6-cfg.png
docs/tutorial/LangImpl6.rst
docs/tutorial/LangImpl7.rst
docs/tutorial/LangImpl8.rst
docs/tutorial/LangImpl9.rst
docs/tutorial/OCamlLangImpl5.rst
examples/Kaleidoscope/Chapter5/toy.cpp
examples/Kaleidoscope/Chapter6/toy.cpp
examples/Kaleidoscope/Chapter7/toy.cpp
examples/Kaleidoscope/Chapter8/CMakeLists.txt
examples/Kaleidoscope/Chapter8/toy.cpp
examples/Kaleidoscope/Chapter9/CMakeLists.txt
examples/Kaleidoscope/Chapter9/main
examples/Kaleidoscope/Chapter9/main.c
examples/Kaleidoscope/Chapter9/main.cpp
examples/Kaleidoscope/Chapter9/output
examples/Kaleidoscope/Chapter9/output.o
examples/Kaleidoscope/Chapter9/toy
examples/Kaleidoscope/Chapter9/toy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18070.50366.patch
Type: text/x-patch
Size: 353150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160310/52b6a008/attachment-0001.bin>
More information about the llvm-commits
mailing list