diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-12-13 02:28:58 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-12-13 02:28:58 +0000 |
commit | d565203d96bbc24f59d28d2be1616ae6bfba907a (patch) | |
tree | b52c0569510a7f53feb41b7ef1e020fdad58b0c6 /docs/CompilerDriverTutorial.html | |
parent | 9e269f05dbf021560ec3d0647afab0aa7cfb35b2 (diff) |
More cosmetic tweaks for llvmc docs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CompilerDriverTutorial.html')
-rw-r--r-- | docs/CompilerDriverTutorial.html | 63 |
1 files changed, 25 insertions, 38 deletions
diff --git a/docs/CompilerDriverTutorial.html b/docs/CompilerDriverTutorial.html index 47a9d09004..a264b0aa78 100644 --- a/docs/CompilerDriverTutorial.html +++ b/docs/CompilerDriverTutorial.html @@ -5,36 +5,32 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" /> <title>Tutorial - Using LLVMC</title> -<meta name="author" content="Mikhail Glushenkov <foldr@codedegers.com>" /> <link rel="stylesheet" href="llvm-rst.css" type="text/css" /> </head> <body> <div class="document" id="tutorial-using-llvmc"> <h1 class="title">Tutorial - Using LLVMC</h1> -<table class="docinfo" frame="void" rules="none"> -<col class="docinfo-name" /> -<col class="docinfo-content" /> -<tbody valign="top"> -<tr><th class="docinfo-name">Author:</th> -<td>Mikhail Glushenkov <<a class="reference" href="mailto:foldr@codedegers.com">foldr@codedegers.com</a>></td></tr> -</tbody> -</table> +<div class="contents topic"> +<p class="topic-title first"><a id="contents" name="contents">Contents</a></p> +<ul class="simple"> +<li><a class="reference" href="#introduction" id="id1" name="id1">Introduction</a></li> +<li><a class="reference" href="#compiling-with-llvmc" id="id2" name="id2">Compiling with LLVMC</a></li> +<li><a class="reference" href="#using-llvmc-to-generate-toolchain-drivers" id="id3" name="id3">Using LLVMC to generate toolchain drivers</a></li> +</ul> +</div> +<div class="doc_author"> +<p>Written by <a href="mailto:foldr@codedgers.com">Mikhail Glushenkov</a></p> +</div><div class="section"> +<h1><a class="toc-backref" href="#id1" id="introduction" name="introduction">Introduction</a></h1> <p>LLVMC is a generic compiler driver, which plays the same role for LLVM as the <tt class="docutils literal"><span class="pre">gcc</span></tt> program does for GCC - the difference being that LLVMC is designed to be more adaptable and easier to customize. Most of LLVMC functionality is implemented via plugins, which can be loaded dynamically or compiled in. This tutorial describes the basic usage and configuration of LLVMC.</p> -<div class="contents topic"> -<p class="topic-title first"><a id="contents" name="contents">Contents</a></p> -<ul class="simple"> -<li><a class="reference" href="#compiling-with-llvmc" id="id3" name="id3">Compiling with LLVMC</a></li> -<li><a class="reference" href="#using-llvmc-to-generate-toolchain-drivers" id="id4" name="id4">Using LLVMC to generate toolchain drivers</a></li> -<li><a class="reference" href="#references" id="id5" name="id5">References</a></li> -</ul> </div> <div class="section"> -<h1><a class="toc-backref" href="#id3" id="compiling-with-llvmc" name="compiling-with-llvmc">Compiling with LLVMC</a></h1> +<h1><a class="toc-backref" href="#id2" id="compiling-with-llvmc" name="compiling-with-llvmc">Compiling with LLVMC</a></h1> <p>In general, LLVMC tries to be command-line compatible with <tt class="docutils literal"><span class="pre">gcc</span></tt> as much as possible, so most of the familiar options work:</p> <pre class="literal-block"> @@ -47,8 +43,8 @@ commands are executed by using the <tt class="docutils literal"><span class="pre command-line LLVMC usage, refer to the <tt class="docutils literal"><span class="pre">llvmc</span> <span class="pre">--help</span></tt> output.</p> </div> <div class="section"> -<h1><a class="toc-backref" href="#id4" id="using-llvmc-to-generate-toolchain-drivers" name="using-llvmc-to-generate-toolchain-drivers">Using LLVMC to generate toolchain drivers</a></h1> -<p>LLVMC plugins are written mostly using TableGen <a class="footnote-reference" href="#id2" id="id1" name="id1">[1]</a>, so you need to +<h1><a class="toc-backref" href="#id3" id="using-llvmc-to-generate-toolchain-drivers" name="using-llvmc-to-generate-toolchain-drivers">Using LLVMC to generate toolchain drivers</a></h1> +<p>LLVMC plugins are written mostly using <a class="reference" href="http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html">TableGen</a>, so you need to be familiar with it to get anything done.</p> <p>Start by compiling <tt class="docutils literal"><span class="pre">plugins/Simple/Simple.td</span></tt>, which is a primitive wrapper for <tt class="docutils literal"><span class="pre">gcc</span></tt>:</p> @@ -102,29 +98,20 @@ and is used for deciding which toolchain corresponds to a given input file.</p> <p>To learn more about LLVMC customization, refer to the reference manual and plugin source code in the <tt class="docutils literal"><span class="pre">plugins</span></tt> directory.</p> -</div> -<div class="section"> -<h1><a class="toc-backref" href="#id5" id="references" name="references">References</a></h1> -<table class="docutils footnote" frame="void" id="id2" rules="none"> -<colgroup><col class="label" /><col /></colgroup> -<tbody valign="top"> -<tr><td class="label"><a class="fn-backref" href="#id1" name="id2">[1]</a></td><td>TableGen Fundamentals -<a class="reference" href="http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html">http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html</a></td></tr> -</tbody> -</table> <hr /> <address> - <a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="http://jigsaw.w3.org/css-validator/images/vcss-blue" - alt="Valid CSS" /></a> - <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10-blue" - alt="Valid XHTML 1.0 Transitional"/></a> +<a href="http://jigsaw.w3.org/css-validator/check/referer"> +<img src="http://jigsaw.w3.org/css-validator/images/vcss-blue" + alt="Valid CSS" /></a> +<a href="http://validator.w3.org/check?uri=referer"> +<img src="http://www.w3.org/Icons/valid-xhtml10-blue" + alt="Valid XHTML 1.0 Transitional"/></a> - <a href="mailto:foldr@codedgers.com">Mikhail Glushenkov</a><br /> - <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br /> +<a href="mailto:foldr@codedgers.com">Mikhail Glushenkov</a><br /> +<a href="http://llvm.org">LLVM Compiler Infrastructure</a><br /> - Last modified: $Date: 2008-12-11 11:34:48 -0600 (Thu, 11 Dec 2008) $ -</address> -</div> +Last modified: $Date: 2008-12-11 11:34:48 -0600 (Thu, 11 Dec 2008) $ +</address></div> </div> </body> </html> |