view lld/docs/development.rst @ 173:0572611fdcc8 llvm10 llvm12

reorgnization done
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 11:55:54 +0900
parents 1d019706d866
children
line wrap: on
line source

.. _development:

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

Note: this document discuss Mach-O port of LLD. For ELF and COFF,
see :doc:`index`.

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

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 options 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:

   Readers
   Driver