diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2019-05-29 03:29:01 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-05-29 03:29:01 +0000 |
| commit | 31fda09b2db405bbaa225bb6068c5f787506b9db (patch) | |
| tree | c6571ccf7d6848532f8a4e92c9027a0fc9ed047a /llvm/docs | |
| parent | 10c548cdfa1ebe15c0312d373191b09fbe7b6a3c (diff) | |
| download | bcm5719-llvm-31fda09b2db405bbaa225bb6068c5f787506b9db.tar.gz bcm5719-llvm-31fda09b2db405bbaa225bb6068c5f787506b9db.zip | |
Add IR support, ELF section and user documentation for partitioning feature.
The partitioning feature was proposed here:
http://lists.llvm.org/pipermail/llvm-dev/2019-February/130583.html
This is mostly just documentation. The feature itself will be contributed
in subsequent patches.
Differential Revision: https://reviews.llvm.org/D60242
llvm-svn: 361923
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/Extensions.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/docs/Extensions.rst b/llvm/docs/Extensions.rst index 8543ac61185..e6f7fdd5044 100644 --- a/llvm/docs/Extensions.rst +++ b/llvm/docs/Extensions.rst @@ -379,6 +379,22 @@ this directive, all symbols are considered address-significant. This marks ``sym`` as address-significant. +``SHT_LLVM_SYMPART`` Section (symbol partition specification) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This section is used to mark symbols with the `partition`_ that they +belong to. An ``.llvm_sympart`` section consists of a null-terminated string +specifying the name of the partition followed by a relocation referring to +the symbol that belongs to the partition. It may be constructed as follows: + +.. code-block:: gas + + .section ".llvm_sympart","",@llvm_sympart + .asciz "libpartition.so" + .word symbol_in_partition + +.. _partition: https://lld.llvm.org/Partitions.html + CodeView-Dependent ------------------ |

