2012-04-07 07:47:34 +08:00
|
|
|
.. _development:
|
|
|
|
|
|
|
|
Development
|
|
|
|
===========
|
|
|
|
|
|
|
|
lld is developed as part of the `LLVM <http://llvm.org>`_ project.
|
|
|
|
|
2013-01-20 18:39:17 +08:00
|
|
|
Using C++11 in lld
|
|
|
|
------------------
|
|
|
|
|
|
|
|
:doc:`C++11`.
|
|
|
|
|
2012-06-13 06:43:35 +08:00
|
|
|
Creating a Reader
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
See the :ref:`Creating a Reader <Readers>` guide.
|
|
|
|
|
|
|
|
|
2013-01-15 10:00:59 +08:00
|
|
|
Modifying the Driver
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
See :doc:`Driver`.
|
|
|
|
|
|
|
|
|
2013-05-11 06:19:28 +08:00
|
|
|
Debugging
|
|
|
|
---------
|
|
|
|
|
2013-05-11 08:26:26 +08:00
|
|
|
You can run lld with ``-mllvm -debug`` command line options to enable debugging
|
2013-05-11 06:19:28 +08:00
|
|
|
printouts. If you want to enable debug information for some specific pass, you
|
2013-05-11 08:26:26 +08:00
|
|
|
can run it with ``-mllvm '-debug-only=<pass>'``, where pass is a name used in
|
2013-05-11 06:19:28 +08:00
|
|
|
the ``DEBUG_WITH_TYPE()`` macro.
|
|
|
|
|
|
|
|
|
2012-06-13 06:43:35 +08:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
-------------
|
2012-04-07 07:47:34 +08:00
|
|
|
|
|
|
|
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`.
|
2012-06-19 04:24:47 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
|
|
|
|
2013-01-20 18:39:17 +08:00
|
|
|
C++11
|
2012-06-19 04:24:47 +08:00
|
|
|
Readers
|
2013-01-15 10:00:59 +08:00
|
|
|
Driver
|