Daniel Dunbar | eaa88c8 | 2012-04-06 23:47:34 +0000 | [diff] [blame] | 1 | .. _development: |
| 2 | |
| 3 | Development |
| 4 | =========== |
| 5 | |
| 6 | lld is developed as part of the `LLVM <http://llvm.org>`_ project. |
| 7 | |
Michael J. Spencer | 359e09d | 2013-01-20 10:39:17 +0000 | [diff] [blame] | 8 | Using C++11 in lld |
| 9 | ------------------ |
| 10 | |
| 11 | :doc:`C++11`. |
| 12 | |
Nick Kledzik | b47d6ca | 2012-06-12 22:43:35 +0000 | [diff] [blame] | 13 | Creating a Reader |
| 14 | ----------------- |
| 15 | |
| 16 | See the :ref:`Creating a Reader <Readers>` guide. |
| 17 | |
| 18 | |
Michael J. Spencer | ed19507 | 2013-01-15 02:00:59 +0000 | [diff] [blame] | 19 | Modifying the Driver |
| 20 | -------------------- |
| 21 | |
| 22 | See :doc:`Driver`. |
| 23 | |
| 24 | |
Rui Ueyama | eaadec3 | 2013-05-10 22:19:28 +0000 | [diff] [blame] | 25 | Debugging |
| 26 | --------- |
| 27 | |
Rui Ueyama | 0227be6 | 2013-05-11 00:26:26 +0000 | [diff] [blame] | 28 | You can run lld with ``-mllvm -debug`` command line options to enable debugging |
Rui Ueyama | eaadec3 | 2013-05-10 22:19:28 +0000 | [diff] [blame] | 29 | printouts. If you want to enable debug information for some specific pass, you |
Rui Ueyama | 0227be6 | 2013-05-11 00:26:26 +0000 | [diff] [blame] | 30 | can run it with ``-mllvm '-debug-only=<pass>'``, where pass is a name used in |
Rui Ueyama | eaadec3 | 2013-05-10 22:19:28 +0000 | [diff] [blame] | 31 | the ``DEBUG_WITH_TYPE()`` macro. |
| 32 | |
| 33 | |
Nick Kledzik | b47d6ca | 2012-06-12 22:43:35 +0000 | [diff] [blame] | 34 | |
| 35 | Documentation |
| 36 | ------------- |
Daniel Dunbar | eaa88c8 | 2012-04-06 23:47:34 +0000 | [diff] [blame] | 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`. |
Nick Kledzik | 920cedd | 2012-06-18 20:24:47 +0000 | [diff] [blame] | 42 | |
| 43 | .. toctree:: |
| 44 | :hidden: |
| 45 | |
Michael J. Spencer | 359e09d | 2013-01-20 10:39:17 +0000 | [diff] [blame] | 46 | C++11 |
Nick Kledzik | 920cedd | 2012-06-18 20:24:47 +0000 | [diff] [blame] | 47 | Readers |
Michael J. Spencer | ed19507 | 2013-01-15 02:00:59 +0000 | [diff] [blame] | 48 | Driver |