forked from OSchip/llvm-project
0264950697
D64906 allows PT_LOAD to have overlapping p_offset ranges. In the default R RX RW RW layout + -z noseparate-code case, we do not tail pad segments when transiting to another segment. This can save at most 3*maxPageSize bytes. a) Before D64906, we tail pad R, RX and the first RW. b) With -z separate-code, we tail pad R and RX, but not the first RW (RELRO). In some cases, b) saves one file page. In some cases, b) wastes one virtual memory page. The waste is a concern on Fuchsia. Because it uses compressed binaries, it doesn't benefit from the saved file page. This patch adds -z separate-loadable-segments to restore the behavior before D64906. It can affect section addresses and can thus be used as a debugging mechanism (see PR43214 and ld.so partition bug in crbug.com/998712). Reviewed By: jakehehrlich, ruiu Differential Revision: https://reviews.llvm.org/D67481 llvm-svn: 372807 |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
llvm-theme | ||
AtomLLD.rst | ||
CMakeLists.txt | ||
Driver.rst | ||
NewLLD.rst | ||
Partitions.rst | ||
README.txt | ||
Readers.rst | ||
ReleaseNotes.rst | ||
WebAssembly.rst | ||
conf.py | ||
design.rst | ||
development.rst | ||
getting_started.rst | ||
hello.png | ||
index.rst | ||
ld.lld.1 | ||
make.bat | ||
missingkeyfunction.rst | ||
open_projects.rst | ||
partitions.dot | ||
partitions.svg | ||
sphinx_intro.rst | ||
windows_support.rst |
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.