aboutsummaryrefslogtreecommitdiff
path: root/docs/UsingLibraries.html
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-04-18 23:59:50 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-04-18 23:59:50 +0000
commit05d0265fef651de152c8127aa701e689555649f3 (patch)
tree32c85c006413daaf59823dcc14a17e8ddee26ad5 /docs/UsingLibraries.html
parent1f48a95ccbff731a8bcf4890204e5eef09eb99d1 (diff)
docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">.
H1 ... doc_title H2 ... doc_section H3 ... doc_subsection H4 ... doc_subsubsection git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsingLibraries.html')
-rw-r--r--docs/UsingLibraries.html22
1 files changed, 12 insertions, 10 deletions
diff --git a/docs/UsingLibraries.html b/docs/UsingLibraries.html
index 28c1e08b72..e8067ed0f8 100644
--- a/docs/UsingLibraries.html
+++ b/docs/UsingLibraries.html
@@ -5,7 +5,7 @@
<link rel="stylesheet" href="llvm.css" type="text/css">
</head>
<body>
-<div class="doc_title">Using The LLVM Libraries</div>
+<h1>Using The LLVM Libraries</h1>
<ol>
<li><a href="#abstract">Abstract</a></li>
<li><a href="#introduction">Introduction</a></li>
@@ -30,7 +30,7 @@
guide</a>.</p>
<!-- ======================================================================= -->
-<div class="doc_section"><a name="abstract">Abstract</a></div>
+<h2><a name="abstract">Abstract</a></h2>
<div class="doc_text">
<p>Amongst other things, LLVM is a toolkit for building compilers, linkers,
runtime executives, virtual machines, and other program execution related
@@ -45,7 +45,7 @@
</div>
<!-- ======================================================================= -->
-<div class="doc_section"> <a name="introduction">Introduction</a></div>
+<h2><a name="introduction">Introduction</a></h2>
<div class="doc_text">
<p>If you're writing a compiler, virtual machine, or any other utility based
on LLVM, you'll need to figure out which of the many libraries files you will
@@ -74,7 +74,7 @@
correct for your tool can sometimes be challenging.
</div>
<!-- ======================================================================= -->
-<div class="doc_section"><a name="descriptions"></a>Library Descriptions</div>
+<h2><a name="descriptions">Library Descriptions</a></h2>
<div class="doc_text">
<p>The table below categorizes each library
<table style="text-align:left">
@@ -152,7 +152,7 @@
</div>
<!-- ======================================================================= -->
-<div class="doc_section"><a name="dependencies"></a>Using llvm-config</div>
+<h2><a name="dependencies">Using llvm-config</a></h2>
<div class="doc_text">
<p>The <tt>llvm-config</tt> tool is a perl script that produces on its output
various kinds of information. For example, the source or object directories
@@ -401,14 +401,15 @@
</div>
<!-- ======================================================================= -->
-<div class="doc_section"><a name="rot">Linkage Rules Of Thumb</a></div>
+<h2><a name="rot">Linkage Rules Of Thumb</a></h2>
<div class="doc_text">
<p>This section contains various "rules of thumb" about what files you
should link into your programs.</p>
</div>
<!-- ======================================================================= -->
-<div class="doc_subsection"><a name="always">Always Link LLVMCore, LLVMSupport,
- and LLVMSystem</a></div>
+<h3>
+ <a name="always">Always Link LLVMCore, LLVMSupport, and LLVMSystem</a>
+</h3>
<div class="doc_text">
<p>No matter what you do with LLVM, the last three entries in the value of
your LLVMLIBS make variable should always be:
@@ -416,8 +417,9 @@
programs that don't depend on these three.</p>
</div>
<!-- ======================================================================= -->
-<div class="doc_subsection"><a name="onlyone">Never link both archive and
- re-linked library</a></div>
+<h3>
+ <a name="onlyone">Never link both archive and re-linked library</a>
+</h3>
<div class="doc_text">
<p>There is never any point to linking both the re-linked (<tt>.o</tt>) and
the archive (<tt>.a</tt>) versions of a library. Since the re-linked version