docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
FIXME: Care H5 better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130040 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html
index 2bca7ae..7360893 100644
--- a/docs/GettingStarted.html
+++ b/docs/GettingStarted.html
@@ -75,7 +75,7 @@
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Welcome to LLVM! In order to get started, you first need to know some
basic information.</p>
@@ -107,7 +107,7 @@
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Here's the short story for getting up and running quickly with LLVM:</p>
@@ -196,20 +196,18 @@
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Before you begin to use the LLVM system, review the requirements given below.
This may save you some trouble by knowing ahead of time what hardware and
software you will need.</p>
-</div>
-
<!-- ======================================================================= -->
<h3>
<a name="hardware">Hardware</a>
</h3>
-<div class="doc_text">
+<div>
<p>LLVM is known to work on the following platforms:</p>
@@ -373,7 +371,7 @@
<h3>
<a name="software">Software</a>
</h3>
-<div class="doc_text">
+<div>
<p>Compiling LLVM requires that you have several software packages
installed. The table below lists those required packages. The Package column
is the usual name for the software package that LLVM depends on. The Version
@@ -514,7 +512,7 @@
<a name="brokengcc">Broken versions of GCC and other tools</a>
</h3>
-<div class="doc_text">
+<div>
<p>LLVM is very demanding of the host C++ compiler, and as such tends to expose
bugs in the compiler. In particular, several versions of GCC crash when trying
@@ -607,7 +605,7 @@
</div>
-
+</div>
<!-- *********************************************************************** -->
<h2>
@@ -615,7 +613,7 @@
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>The remainder of this guide is meant to get you up and running with
LLVM and to give you some basic information about the LLVM environment.</p>
@@ -625,14 +623,13 @@
href="#tutorial">simple example</a> using the LLVM tool chain, and <a
href="#links">links</a> to find more information about LLVM or to get
help via e-mail.</p>
-</div>
<!-- ======================================================================= -->
<h3>
<a name="terminology">Terminology and Notation</a>
</h3>
-<div class="doc_text">
+<div>
<p>Throughout this manual, the following names are used to denote paths
specific to the local system and working environment. <i>These are not
@@ -669,7 +666,7 @@
<a name="environment">Setting Up Your Environment</a>
</h3>
-<div class="doc_text">
+<div>
<p>
In order to compile and use LLVM, you may need to set some environment
@@ -692,7 +689,7 @@
<a name="unpack">Unpacking the LLVM Archives</a>
</h3>
-<div class="doc_text">
+<div>
<p>
If you have the LLVM distribution, you will need to unpack it before you
@@ -726,7 +723,7 @@
<a name="checkout">Checkout LLVM from Subversion</a>
</h3>
-<div class="doc_text">
+<div>
<p>If you have access to our Subversion repository, you can get a fresh copy of
the entire source code. All you need to do is check it out from Subversion as
@@ -797,7 +794,7 @@
<a name="git_mirror">GIT mirror</a>
</h3>
-<div class="doc_text">
+<div>
<p>GIT mirrors are available for a number of LLVM subprojects. These mirrors
sync automatically with each Subversion commit and contain all necessary
@@ -816,7 +813,7 @@
<a name="installcf">Install the GCC Front End</a>
</h3>
-<div class="doc_text">
+<div>
<p>Before configuring and compiling the LLVM suite (or if you want to use just the LLVM
GCC front end) you can optionally extract the front end from the binary distribution.
@@ -886,7 +883,7 @@
<a name="config">Local LLVM Configuration</a>
</h3>
-<div class="doc_text">
+<div>
<p>Once checked out from the Subversion repository, the LLVM suite source
code must be
@@ -1008,7 +1005,7 @@
<a name="compile">Compiling the LLVM Suite Source Code</a>
</h3>
-<div class="doc_text">
+<div>
<p>Once you have configured LLVM, you can build it. There are three types of
builds:</p>
@@ -1142,7 +1139,7 @@
<a name="cross-compile">Cross-Compiling LLVM</a>
</h3>
-<div class="doc_text">
+<div>
<p>It is possible to cross-compile LLVM itself. That is, you can create LLVM
executables and libraries to be hosted on a platform different from the
platform where they are build (a Canadian Cross build). To configure a
@@ -1160,7 +1157,7 @@
<a name="objfiles">The Location of LLVM Object Files</a>
</h3>
-<div class="doc_text">
+<div>
<p>The LLVM build system is capable of sharing a single LLVM source tree among
several LLVM builds. Hence, it is possible to build LLVM for several different
@@ -1220,7 +1217,7 @@
<a name="optionalconfig">Optional Configuration Items</a>
</h3>
-<div class="doc_text">
+<div>
<p>
If you're running on a Linux system that supports the "<a
@@ -1251,27 +1248,27 @@
</div>
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="layout">Program Layout</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>One useful source of information about the LLVM source base is the LLVM <a
href="http://www.doxygen.org/">doxygen</a> documentation available at <tt><a
href="http://llvm.org/doxygen/">http://llvm.org/doxygen/</a></tt>.
The following is a brief introduction to code layout:</p>
-</div>
-
<!-- ======================================================================= -->
<h3>
<a name="examples"><tt>llvm/examples</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This directory contains some simple examples of how to use the LLVM IR and
JIT.</p>
</div>
@@ -1281,7 +1278,7 @@
<a name="include"><tt>llvm/include</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This directory contains public header files exported from the LLVM
library. The three main subdirectories of this directory are:</p>
@@ -1312,7 +1309,7 @@
<a name="lib"><tt>llvm/lib</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This directory contains most of the source files of the LLVM system. In LLVM,
almost all code exists in libraries, making it very easy to share code among the
@@ -1381,7 +1378,7 @@
<a name="projects"><tt>llvm/projects</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This directory contains projects that are not strictly part of LLVM but are
shipped with LLVM. This is also the directory where you should create your own
LLVM-based projects. See <tt>llvm/projects/sample</tt> for an example of how
@@ -1393,7 +1390,7 @@
<a name="runtime"><tt>llvm/runtime</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This directory contains libraries which are compiled into LLVM bitcode and
used when linking programs with the GCC front end. Most of these libraries are
@@ -1410,7 +1407,7 @@
<a name="test"><tt>llvm/test</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This directory contains feature and regression tests and other basic sanity
checks on the LLVM infrastructure. These are intended to run quickly and cover
a lot of territory without being exhaustive.</p>
@@ -1421,7 +1418,7 @@
<a name="test-suite"><tt>test-suite</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This is not a directory in the normal llvm module; it is a separate
Subversion
module that must be checked out (usually to <tt>projects/test-suite</tt>).
@@ -1440,7 +1437,7 @@
<a name="tools"><tt>llvm/tools</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>The <b>tools</b> directory contains the executables built out of the
libraries above, which form the main part of the user interface. You can
@@ -1528,7 +1525,7 @@
<a name="utils"><tt>llvm/utils</tt></a>
</h3>
-<div class="doc_text">
+<div>
<p>This directory contains utilities for working with LLVM source code, and some
of the utilities are actually required as part of the build process because they
@@ -1589,13 +1586,15 @@
</div>
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="tutorial">An Example Using the LLVM Tool Chain</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>This section gives an example of using LLVM. llvm-gcc3 is now obsolete,
so we only include instructions for llvm-gcc4.
</p>
@@ -1606,14 +1605,13 @@
the '--emit-llvm' flag is needed to produce LLVM bitcode output. For <i>makefiles</i> and
<i>configure</i> scripts, the CFLAGS variable needs '--emit-llvm' to produce bitcode
output.</p>
-</div>
<!-- ======================================================================= -->
<h3>
<a name="tutorial4">Example with llvm-gcc4</a>
</h3>
-<div class="doc_text">
+<div>
<ol>
<li><p>First, create a simple C file, name it 'hello.c':</p>
@@ -1694,6 +1692,7 @@
</div>
+</div>
<!-- *********************************************************************** -->
<h2>
@@ -1701,7 +1700,7 @@
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>If you are having problems building or using LLVM, or if you have any other
general questions about LLVM, please consult the <a href="FAQ.html">Frequently
@@ -1715,7 +1714,7 @@
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>This document is just an <b>introduction</b> on how to use LLVM to do
some simple things... there are many more interesting and complicated things