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 | c0363fcba6dc43360e7c6272abca3a9492cf5136 (patch) | |
| tree | a6466e662d2427d64ae875adbaa6907b51fe196e /llvm/tools/llvmc/doc/LLVMC-Tutorial.rst | |
| parent | 146324f99c35e1174c30e89ac555d065d2abe568 (diff) | |
| download | bcm5719-llvm-c0363fcba6dc43360e7c6272abca3a9492cf5136.tar.gz bcm5719-llvm-c0363fcba6dc43360e7c6272abca3a9492cf5136.zip | |
More cosmetic tweaks for llvmc docs.
llvm-svn: 60969
Diffstat (limited to 'llvm/tools/llvmc/doc/LLVMC-Tutorial.rst')
| -rw-r--r-- | llvm/tools/llvmc/doc/LLVMC-Tutorial.rst | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/llvm/tools/llvmc/doc/LLVMC-Tutorial.rst b/llvm/tools/llvmc/doc/LLVMC-Tutorial.rst index 40292ee6271..a27bb209290 100644 --- a/llvm/tools/llvmc/doc/LLVMC-Tutorial.rst +++ b/llvm/tools/llvmc/doc/LLVMC-Tutorial.rst @@ -1,7 +1,17 @@ ====================== Tutorial - Using LLVMC ====================== -:Author: Mikhail Glushenkov <foldr@codedegers.com> + +.. contents:: + +.. raw:: html + + <div class="doc_author"> + <p>Written by <a href="mailto:foldr@codedgers.com">Mikhail Glushenkov</a></p> + </div> + +Introduction +============ LLVMC is a generic compiler driver, which plays the same role for LLVM as the ``gcc`` program does for GCC - the difference being that LLVMC @@ -11,9 +21,6 @@ dynamically or compiled in. This tutorial describes the basic usage and configuration of LLVMC. -.. contents:: - - Compiling with LLVMC ==================== @@ -32,9 +39,11 @@ command-line LLVMC usage, refer to the ``llvmc --help`` output. Using LLVMC to generate toolchain drivers ========================================= -LLVMC plugins are written mostly using TableGen [1]_, so you need to +LLVMC plugins are written mostly using TableGen_, so you need to be familiar with it to get anything done. +.. _TableGen: http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html + Start by compiling ``plugins/Simple/Simple.td``, which is a primitive wrapper for ``gcc``:: @@ -93,11 +102,19 @@ file. To learn more about LLVMC customization, refer to the reference manual and plugin source code in the ``plugins`` directory. -References -========== +.. raw:: html -.. [1] TableGen Fundamentals - http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html + <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> -.. raw:: html - :file: footer.html + <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> |

