1280461Sdim.. _development:
2280461Sdim
3280461SdimDevelopment
4280461Sdim===========
5280461Sdim
6317025SdimNote: this document discuss Mach-O port of LLD. For ELF and COFF,
7317025Sdimsee :doc:`index`.
8317025Sdim
9280461Sdimlld is developed as part of the `LLVM <http://llvm.org>`_ project.
10280461Sdim
11280461SdimCreating a Reader
12280461Sdim-----------------
13280461Sdim
14280461SdimSee the :ref:`Creating a Reader <Readers>` guide.
15280461Sdim
16280461Sdim
17280461SdimModifying the Driver
18280461Sdim--------------------
19280461Sdim
20280461SdimSee :doc:`Driver`.
21280461Sdim
22280461Sdim
23280461SdimDebugging
24280461Sdim---------
25280461Sdim
26280461SdimYou can run lld with ``-mllvm -debug`` command line options to enable debugging
27280461Sdimprintouts. If you want to enable debug information for some specific pass, you
28280461Sdimcan run it with ``-mllvm '-debug-only=<pass>'``, where pass is a name used in
29280461Sdimthe ``DEBUG_WITH_TYPE()`` macro.
30280461Sdim
31280461Sdim
32280461Sdim
33280461SdimDocumentation
34280461Sdim-------------
35280461Sdim
36280461SdimThe project documentation is written in reStructuredText and generated using the
37280461Sdim`Sphinx <http://sphinx.pocoo.org/>`_ documentation generator. For more
38280461Sdiminformation on writing documentation for the project, see the
39280461Sdim:ref:`sphinx_intro`.
40280461Sdim
41280461Sdim.. toctree::
42280461Sdim   :hidden:
43280461Sdim
44280461Sdim   Readers
45280461Sdim   Driver
46