Skip to content

Commit

Permalink
docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
Browse files Browse the repository at this point in the history
<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
  • Loading branch information
chapuni committed Apr 23, 2011
1 parent 624dc1d commit f5af6ad
Show file tree
Hide file tree
Showing 52 changed files with 1,632 additions and 1,569 deletions.
171 changes: 85 additions & 86 deletions docs/BitCodeFormat.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/Bugpoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p><tt>bugpoint</tt> narrows down the source of problems in LLVM tools and
passes. It can be used to debug three types of failures: optimizer crashes,
Expand All @@ -55,7 +55,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p><tt>bugpoint</tt> is designed to be a useful tool without requiring any
hooks into the LLVM infrastructure at all. It works with any and all LLVM
Expand All @@ -68,14 +68,12 @@ <h2>
debugging a miscompilation where each test of the program (which requires
executing it) takes a long time.</p>

</div>

<!-- ======================================================================= -->
<h3>
<a name="autoselect">Automatic Debugger Selection</a>
</h3>

<div class="doc_text">
<div>

<p><tt>bugpoint</tt> reads each <tt>.bc</tt> or <tt>.ll</tt> file specified on
the command line and links them together into a single module, called the test
Expand Down Expand Up @@ -108,7 +106,7 @@ <h3>
<a name="crashdebug">Crash debugger</a>
</h3>

<div class="doc_text">
<div>

<p>If an optimizer or code generator crashes, <tt>bugpoint</tt> will try as hard
as it can to reduce the list of passes (for optimizer crashes) and the size of
Expand All @@ -133,7 +131,7 @@ <h3>
<a name="codegendebug">Code generator debugger</a>
</h3>

<div class="doc_text">
<div>

<p>The code generator debugger attempts to narrow down the amount of code that
is being miscompiled by the selected code generator. To do this, it takes the
Expand All @@ -154,7 +152,7 @@ <h3>
<a name="miscompilationdebug">Miscompilation debugger</a>
</h3>

<div class="doc_text">
<div>

<p>The miscompilation debugger works similarly to the code generator debugger.
It works by splitting the test program into two pieces, running the
Expand All @@ -166,13 +164,15 @@ <h3>

</div>

</div>

<!-- *********************************************************************** -->
<h2>
<a name="advice">Advice for using bugpoint</a>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<tt>bugpoint</tt> can be a remarkably useful tool, but it sometimes works in
non-obvious ways. Here are some hints and tips:<p>
Expand Down
36 changes: 18 additions & 18 deletions docs/CMake.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p><a href="http://www.cmake.org/">CMake</a> is a cross-platform
build-generator tool. CMake does not build the project, it generates
Expand All @@ -64,7 +64,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p> We use here the command-line, non-interactive CMake interface </p>

Expand Down Expand Up @@ -117,7 +117,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p>This section explains basic aspects of CMake, mostly for
explaining those options which you may need on your day-to-day
Expand Down Expand Up @@ -165,7 +165,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p>Variables customize how the build will be generated. Options are
boolean variables, with possible values ON/OFF. Options and
Expand Down Expand Up @@ -194,14 +194,12 @@ <h2>
<p><tt>cmake -DVARIABLE:TYPE=value path/to/llvm/source</tt></p>
</div>

</div>

<!-- ======================================================================= -->
<h3>
<a name="freccmake">Frequently-used CMake variables</a>
</h3>

<div class="doc_text">
<div>

<p>Here are listed some of the CMake variables that are used often,
along with a brief explanation and LLVM-specific notes. For full
Expand Down Expand Up @@ -244,7 +242,7 @@ <h3>
<a name="llvmvars">LLVM-specific variables</a>
</h3>

<div class="doc_text">
<div>

<dl>
<dt><b>LLVM_TARGETS_TO_BUILD</b>:STRING</dt>
Expand Down Expand Up @@ -357,13 +355,15 @@ <h3>

</div>

</div>

<!-- *********************************************************************** -->
<h2>
<a name="testing">Executing the test suite</a>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p>Testing is performed when the <i>check</i> target is built. For
instance, if you are using makefiles, execute this command while on
Expand All @@ -383,7 +383,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p>See <a href="http://www.vtk.org/Wiki/CMake_Cross_Compiling">this
wiki page</a> for generic instructions on how to cross-compile
Expand All @@ -404,7 +404,7 @@ <h2>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p>The most difficult part of adding LLVM to the build of a project
is to determine the set of LLVM libraries corresponding to the set
Expand Down Expand Up @@ -459,14 +459,12 @@ <h2>
</pre>
</div>

</div>

<!-- ======================================================================= -->
<h3>
<a name="passdev">Developing LLVM pass out of source</a>
</h3>

<div class="doc_text">
<div>

<p>It is possible to develop LLVM passes against installed LLVM.
An example of project layout provided below:</p>
Expand Down Expand Up @@ -518,23 +516,23 @@ <h3>
</div>
<!-- *********************************************************************** -->

</div>

<!-- *********************************************************************** -->
<h2>
<a name="specifics">Compiler/Platform specific topics</a>
</h2>
<!-- *********************************************************************** -->

<div class="doc_text">
<div>

<p>Notes for specific compilers and/or platforms.</p>

</div>

<h3>
<a name="msvc">Microsoft Visual C++</a>
</h3>

<div class="doc_text">
<div>

<dl>
<dt><b>LLVM_COMPILER_JOBS</b>:STRING</dt>
Expand All @@ -546,6 +544,8 @@ <h3>

</div>

</div>

<!-- *********************************************************************** -->

<hr>
Expand Down
Loading

0 comments on commit f5af6ad

Please sign in to comment.