1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

[docs] Typos and whitespace fixed in LTO docs.

While reading the LTO docs I fixed few small typos and whitespace issues.

Patch by: Jonas Devlieghere <jonas@devlieghere.com>

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

llvm-svn: 288171
This commit is contained in:
Mehdi Amini 2016-11-29 18:00:31 +00:00
parent 7d5e5aa9e9
commit 6e479ee202

View File

@ -21,7 +21,7 @@ intermodular optimization, in the compiler tool chain. Its main goal is to let
the developer take advantage of intermodular optimizations without making any
significant changes to the developer's makefiles or build system. This is
achieved through tight integration with the linker. In this model, the linker
treates LLVM bitcode files like native object files and allows mixing and
treats LLVM bitcode files like native object files and allows mixing and
matching among them. The linker uses `libLTO`_, a shared object, to handle LLVM
bitcode files. This tight integration between the linker and LLVM optimizer
helps to do optimizations that are not possible in other models. The linker
@ -126,7 +126,7 @@ Alternative Approaches
needs to support all such features and platforms in one super tool or a
separate tool per platform is required. This increases maintenance cost for
link time optimizer significantly, which is not necessary. This approach
also requires staying synchronized with linker developements on various
also requires staying synchronized with linker developments on various
platforms, which is not the main focus of the link time optimizer. Finally,
this approach increases end user's build time due to the duplication of work
done by this separate tool and the linker itself.
@ -274,7 +274,7 @@ to generate DWARF debug info is set with:
lto_codegen_set_debug_model(lto_code_gen_t)
Which kind of position independence is set with:
which kind of position independence is set with:
.. code-block:: c