From a12c3bd200b027afad23bebd0cd924b842ece1b7 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Wed, 6 May 2009 01:41:47 +0000 Subject: Regenerate documentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71055 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CompilerDriverTutorial.html | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'docs/CompilerDriverTutorial.html') diff --git a/docs/CompilerDriverTutorial.html b/docs/CompilerDriverTutorial.html index d2b3a59..a578017 100644 --- a/docs/CompilerDriverTutorial.html +++ b/docs/CompilerDriverTutorial.html @@ -3,28 +3,29 @@ - + Tutorial - Using LLVMC

Tutorial - Using LLVMC

+ -
-

Contents

+

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 @@ -32,8 +33,8 @@ 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:

@@ -45,9 +46,9 @@ hello
 commands are executed by using the -v option). For further help on
 command-line LLVMC usage, refer to the llvmc --help output.

-
-

Using LLVMC to generate toolchain drivers

-

LLVMC plugins are written mostly using TableGen, 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:

-- cgit v1.1