From d565203d96bbc24f59d28d2be1616ae6bfba907a Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sat, 13 Dec 2008 02:28:58 +0000 Subject: More cosmetic tweaks for llvmc docs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60969 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CompilerDriverTutorial.html | 63 ++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 38 deletions(-) (limited to 'docs/CompilerDriverTutorial.html') 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 @@ Tutorial - Using LLVMC -

Tutorial - Using LLVMC

- --- - - - -
Author:Mikhail Glushenkov <foldr@codedegers.com>
+ +
+

Written by Mikhail Glushenkov

+
+

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 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.

-
-

Compiling with LLVMC

+

Compiling with LLVMC

In general, LLVMC tries to be command-line compatible with gcc as much as possible, so most of the familiar options work:

@@ -47,8 +43,8 @@ commands are executed by using the llvmc --help output.

-

Using LLVMC to generate toolchain drivers

-

LLVMC plugins are written mostly using TableGen [1], so you need to +

Using LLVMC to generate toolchain drivers

+

LLVMC plugins are written mostly using TableGen, so you need to be familiar with it to get anything done.

Start by compiling plugins/Simple/Simple.td, which is a primitive wrapper for gcc:

@@ -102,29 +98,20 @@ and is used for deciding which toolchain corresponds to a given input file.

To learn more about LLVMC customization, refer to the reference manual and plugin source code in the plugins directory.

-
-
-

References

- - - - - -
[1]TableGen Fundamentals -http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html

- Valid CSS - Valid XHTML 1.0 Transitional + +Valid CSS + +Valid XHTML 1.0 Transitional - Mikhail Glushenkov
- LLVM Compiler Infrastructure
+Mikhail Glushenkov
+LLVM Compiler Infrastructure
- Last modified: $Date: 2008-12-11 11:34:48 -0600 (Thu, 11 Dec 2008) $ -
-
+Last modified: $Date: 2008-12-11 11:34:48 -0600 (Thu, 11 Dec 2008) $ +
-- cgit v1.2.3-18-g5258