@@ -17,26 +17,24 @@ <h1>Hacking on Clang</h1>
17
17
18
18
< p > This document provides some hints for how to get started hacking
19
19
on Clang for developers who are new to the Clang and/or LLVM
20
- codebases.
20
+ codebases.</ p >
21
21
< ul >
22
22
< li > < a href ="#docs "> Developer Documentation</ a > </ li >
23
23
< li > < a href ="#debugging "> Debugging</ a > </ li >
24
24
< li > < a href ="#irgen "> LLVM IR Generation</ a > </ li >
25
25
</ ul >
26
- </ p >
27
26
28
27
<!--=====================================================================-->
29
- < h2 id ="debugging "> Developer Documentation</ h2 >
28
+ < h2 id ="docs "> Developer Documentation</ h2 >
30
29
<!--=====================================================================-->
31
30
32
31
< p > Both Clang and LLVM use doxygen to provide API documentation. Their
33
- respective web pages (generated nightly) are here:
32
+ respective web pages (generated nightly) are here:</ p >
34
33
< ul >
35
34
< li > < a href ="http://clang.llvm.org/doxygen "> Clang</ a > </ li >
36
35
< li > < a href ="http://llvm.org/doxygen "> LLVM</ a > </ li >
37
36
</ ul >
38
- </ p >
39
-
37
+
40
38
< p > For work on the LLVM IR generation, the LLVM assembly language
41
39
< a href ="http://llvm.org/docs/LangRef.html "> reference manual</ a > is
42
40
also useful.</ p >
@@ -45,7 +43,7 @@ <h2 id="debugging">Developer Documentation</h2>
45
43
< h2 id ="debugging "> Debugging</ h2 >
46
44
<!--=====================================================================-->
47
45
48
- < p > Inspecting data structures in a debugger:
46
+ < p > Inspecting data structures in a debugger:</ p >
49
47
< ul >
50
48
< li > Many LLVM and Clang data structures provide
51
49
a < tt > dump()</ tt > method which will print a description of the
@@ -57,7 +55,6 @@ <h2 id="debugging">Debugging</h2>
57
55
qualifiers, and the < tt > getTypePtr()</ tt > method to get the
58
56
wrapped < tt > Type*</ tt > which you can then dump.</ li >
59
57
</ ul >
60
- </ p >
61
58
62
59
<!--=====================================================================-->
63
60
< h2 id ="irgen "> LLVM IR Generation</ h2 >
@@ -74,7 +71,7 @@ <h2 id="irgen">LLVM IR Generation</h2>
74
71
can also use < tt > -emit-llvm-bc</ tt > to write an LLVM bitcode file
75
72
which can be processed by the suite of LLVM tools
76
73
like < tt > llvm-dis</ tt > , < tt > llvm-nm</ tt > , etc. See the LLVM
77
- < a href ="http://llvm.org/docs/CommandGuide/ "> Command Guide</ tt >
74
+ < a href ="http://llvm.org/docs/CommandGuide/ "> Command Guide</ a >
78
75
for more information.</ p >
79
76
80
77
</ div >
0 commit comments