.. _development:

Development
===========

lld is developed as part of the `LLVM <http://llvm.org>`_ project.

Using C++11 in lld
------------------

:doc:`C++11`.

Creating a Reader
-----------------

See the :ref:`Creating a Reader <Readers>` guide.


Modifying the Driver
--------------------

See :doc:`Driver`.



Documentation
-------------

The project documentation is written in reStructuredText and generated using the
`Sphinx <http://sphinx.pocoo.org/>`_ documentation generator. For more
information on writing documentation for the project, see the
:ref:`sphinx_intro`.

.. toctree::
   :hidden:

   C++11
   Readers
   Driver

.. _development:

Development
===========

lld is developed as part of the `LLVM <http://llvm.org>`_ project.

Using C++11 in lld
------------------

:doc:`C++11`.

Creating a Reader
-----------------

See the :ref:`Creating a Reader <Readers>` guide.


Modifying the Driver
--------------------

See :doc:`Driver`.


Debugging
---------

You can run lld with ``-mllvm=-debug`` command line option to enable debugging
printouts. If you want to enable debug information for some specific pass, you
can run it with ``-mllvm='-debug-only <pass>'``, where pass is a name used in
the ``DEBUG_WITH_TYPE()`` macro.



Documentation
-------------

The project documentation is written in reStructuredText and generated using the
`Sphinx <http://sphinx.pocoo.org/>`_ documentation generator. For more
information on writing documentation for the project, see the
:ref:`sphinx_intro`.

.. toctree::
   :hidden:

   C++11
   Readers
   Driver

Document about how to enable debug output.
[lld] Document about how to enable debug output.

git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@181640 91177308-0d34-0410-b5e6-96231b3b80d8
