\r
<p>This document provides some hints for how to get started hacking\r
on Clang for developers who are new to the Clang and/or LLVM\r
- codebases.\r
+ codebases.</p>\r
<ul>\r
<li><a href="#docs">Developer Documentation</a></li>\r
<li><a href="#debugging">Debugging</a></li>\r
<li><a href="#irgen">LLVM IR Generation</a></li>\r
</ul>\r
- </p>\r
\r
<!--=====================================================================-->\r
- <h2 id="debugging">Developer Documentation</h2>\r
+ <h2 id="docs">Developer Documentation</h2>\r
<!--=====================================================================-->\r
\r
<p>Both Clang and LLVM use doxygen to provide API documentation. Their\r
- respective web pages (generated nightly) are here:\r
+ respective web pages (generated nightly) are here:</p>\r
<ul>\r
<li><a href="http://clang.llvm.org/doxygen">Clang</a></li>\r
<li><a href="http://llvm.org/doxygen">LLVM</a></li>\r
</ul>\r
- </p>\r
- \r
+ \r
<p>For work on the LLVM IR generation, the LLVM assembly language\r
<a href="http://llvm.org/docs/LangRef.html">reference manual</a> is\r
also useful.</p>\r
<h2 id="debugging">Debugging</h2>\r
<!--=====================================================================-->\r
\r
- <p>Inspecting data structures in a debugger:\r
+ <p>Inspecting data structures in a debugger:</p>\r
<ul>\r
<li>Many LLVM and Clang data structures provide\r
a <tt>dump()</tt> method which will print a description of the\r
qualifiers, and the <tt>getTypePtr()</tt> method to get the\r
wrapped <tt>Type*</tt> which you can then dump.</li>\r
</ul>\r
- </p>\r
\r
<!--=====================================================================-->\r
<h2 id="irgen">LLVM IR Generation</h2>\r
can also use <tt>-emit-llvm-bc</tt> to write an LLVM bitcode file\r
which can be processed by the suite of LLVM tools\r
like <tt>llvm-dis</tt>, <tt>llvm-nm</tt>, etc. See the LLVM\r
- <a href="http://llvm.org/docs/CommandGuide/">Command Guide</tt>\r
+ <a href="http://llvm.org/docs/CommandGuide/">Command Guide</a>\r
for more information.</p>\r
\r
</div>\r