]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - docs/development.rst
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / docs / development.rst
1 .. _development:
2
3 Development
4 ===========
5
6 lld is developed as part of the `LLVM <http://llvm.org>`_ project.
7
8 Using C++11 in lld
9 ------------------
10
11 :doc:`C++11`.
12
13 Creating a Reader
14 -----------------
15
16 See the :ref:`Creating a Reader <Readers>` guide.
17
18
19 Modifying the Driver
20 --------------------
21
22 See :doc:`Driver`.
23
24
25 Debugging
26 ---------
27
28 You can run lld with ``-mllvm -debug`` command line options to enable debugging
29 printouts. If you want to enable debug information for some specific pass, you
30 can run it with ``-mllvm '-debug-only=<pass>'``, where pass is a name used in
31 the ``DEBUG_WITH_TYPE()`` macro.
32
33
34
35 Documentation
36 -------------
37
38 The project documentation is written in reStructuredText and generated using the
39 `Sphinx <http://sphinx.pocoo.org/>`_ documentation generator. For more
40 information on writing documentation for the project, see the
41 :ref:`sphinx_intro`.
42
43 .. toctree::
44    :hidden:
45
46    C++11
47    Readers
48    Driver