minix/external/bsd/llvm/dist/llvm/docs
Lionel Sambuc 0a6a1f1d05 NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
2016-01-13 20:32:14 +01:00
..
_static
_templates
_themes/llvm-theme
CommandGuide NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
HistoricalNotes
TableGen NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
tutorial NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
AliasAnalysis.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ARM-BE-bitcastfail.png NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ARM-BE-bitcastsuccess.png NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ARM-BE-ld1.png NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ARM-BE-ldr.png NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Atomics.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
BigEndianNEON.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
BitCodeFormat.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
BlockFrequencyTerminology.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
BranchWeightMetadata.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Bugpoint.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
CMake.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
CMakeLists.txt NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
CodeGenerator.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
CodingStandards.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
CommandLine.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
CompilerWriterInfo.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
conf.py NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
CoverageMappingFormat.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
DebuggingJITedCode.rst
DeveloperPolicy.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
doxygen.cfg.in NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
doxygen.css
doxygen.footer NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
doxygen.header
doxygen.intro
Dummy.html
ExceptionHandling.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ExtendedIntegerResults.txt
ExtendingLLVM.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Extensions.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
FAQ.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
GarbageCollection.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
gcc-loops.png
GetElementPtr.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
GettingStarted.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
GettingStartedVS.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
GoldPlugin.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
HowToAddABuilder.rst
HowToBuildOnARM.rst
HowToCrossCompileLLVM.rst
HowToReleaseLLVM.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
HowToSetUpLLVMStyleRTTI.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
HowToSubmitABug.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
HowToUseAttributes.rst
HowToUseInstrMappings.rst
InAlloca.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
index.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LangRef.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Lexicon.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LinkTimeOptimization.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
linpack-pc.png
LLVMBuild.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LLVMBuild.txt
make.bat
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile.sphinx
MakefileGuide.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
MarkedUpDisassembly.rst
MCJIT-creation.png
MCJIT-dyld-load.png
MCJIT-engine-builder.png
MCJIT-load-object.png
MCJIT-load.png
MCJIT-resolve-relocations.png
MCJITDesignAndImplementation.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
MergeFunctions.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
NVPTXUsage.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Packaging.rst
Passes.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Phabricator.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ProgrammersManual.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Projects.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
R600Usage.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
re_format.7
README.txt NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ReleaseNotes.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
ReleaseProcess.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
SegmentedStacks.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
SourceLevelDebugging.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
SphinxQuickstartTemplate.rst
StackMaps.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Statepoints.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
SystemLibrary.rst
TableGenFundamentals.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
TestingGuide.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
TestSuiteMakefileGuide.rst
Vectorizers.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
WritingAnLLVMBackend.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
WritingAnLLVMPass.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
yaml2obj.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
YamlIO.rst NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00

LLVM Documentation
==================

LLVM's documentation is written in reStructuredText, a lightweight
plaintext markup language (file extension `.rst`). While the
reStructuredText documentation should be quite readable in source form, it
is mostly meant to be processed by the Sphinx documentation generation
system to create HTML pages which are hosted on <http://llvm.org/docs/> and
updated after every commit. Manpage output is also supported, see below.

If you instead would like to generate and view the HTML locally, install
Sphinx <http://sphinx-doc.org/> and then do:

    cd docs/
    make -f Makefile.sphinx
    $BROWSER _build/html/index.html

The mapping between reStructuredText files and generated documentation is
`docs/Foo.rst` <-> `_build/html/Foo.html` <-> `http://llvm.org/docs/Foo.html`.

If you are interested in writing new documentation, you will want to read
`SphinxQuickstartTemplate.rst` which will get you writing documentation
very fast and includes examples of the most important reStructuredText
markup syntax.

Manpage Output
===============

Building the manpages is similar to building the HTML documentation. The
primary difference is to use the `man` makefile target, instead of the
default (which is `html`). Sphinx then produces the man pages in the
directory `_build/man/`.

    cd docs/
    make -f Makefile.sphinx man
    man -l _build/man/FileCheck.1

The correspondence between .rst files and man pages is
`docs/CommandGuide/Foo.rst` <-> `_build/man/Foo.1`.
These .rst files are also included during HTML generation so they are also
viewable online (as noted above) at e.g.
`http://llvm.org/docs/CommandGuide/Foo.html`.

Checking links
==============

The reachibility of external links in the documentation can be checked by
running:

    cd docs/
    make -f Makefile.sphinx linkcheck