hanchenye-llvm-project/lld/docs
Fangrui Song ae0294375f [ELF] Default to --no-allow-shlib-undefined for executables
Summary:
This follows the ld.bfd/gold behavior.

The error check is useful as it captures a common type of ld.so undefined symbol errors as link-time errors:

    // a.cc => a.so (not linked with -z defs)
    void f(); // f is undefined
    void g() { f(); }

    // b.cc => executable with a DT_NEEDED entry on a.so
    void g();
    int main() { g(); }

    // ld.so errors when g() is executed (lazy binding) or when the program is started (-z now)
    // symbol lookup error: ... undefined symbol: f

Reviewers: ruiu, grimar, pcc, espindola

Reviewed By: ruiu

Subscribers: llvm-commits, emaste, arichardson

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D57569

llvm-svn: 352943
2019-02-02 00:34:28 +00:00
..
_static
_templates
llvm-theme
AtomLLD.rst
CMakeLists.txt
Driver.rst
NewLLD.rst Fix some sphinx doc errors. 2019-02-01 17:06:41 +00:00
README.txt [WebAssembly] Update docs 2018-11-29 02:55:25 +00:00
Readers.rst key method -> key function 2018-12-21 22:40:10 +00:00
ReleaseNotes.rst Bump the trunk version to 9.0.0svn 2019-01-16 10:57:02 +00:00
WebAssembly.rst [WebAssembly] Update docs 2018-11-29 02:55:25 +00:00
conf.py Bump the trunk version to 9.0.0svn 2019-01-16 10:57:02 +00:00
design.rst
development.rst
getting_started.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
hello.png
index.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
ld.lld.1 [ELF] Default to --no-allow-shlib-undefined for executables 2019-02-02 00:34:28 +00:00
make.bat
missingkeyfunction.rst keymethod -> keyfunction 2018-12-21 22:57:11 +00:00
open_projects.rst lld/include/lld/Core/TODO.txt 2019-01-14 00:45:27 +00:00
sphinx_intro.rst [docs] Update doc building instructions 2017-12-05 23:31:26 +00:00
windows_support.rst lld/include/lld/Core/TODO.txt 2019-01-14 00:45:27 +00:00

README.txt

lld Documentation
=================

The lld documentation is written using the Sphinx documentation generator. It is
currently tested with Sphinx 1.1.3.

We currently use the 'nature' theme and a Beaker inspired structure.

See sphinx_intro.rst for more details.